1
0
Fork 0
alistair23-linux/drivers/usb/usbip
Igor Kotrasinski 635e664a6b usbip: vhci_hcd: at unlink, return -EIDRM if vhci_rx took the urb
In a situation where the urb is about to be returned or was never
there, we should return -EIDRM (as per usb_hcd_check_unlink_urb).
This is exactly the situation when the urb is picked up by vhci_rx
before we access priv.

Return -EIDRM rather than 0 when this happens.

Signed-off-by: Igor Kotrasinski <i.kotrasinsk@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-10-04 10:59:03 +01:00
..
Kconfig
Makefile
README
stub.h
stub_dev.c usbip: fix error handling in stub_probe() 2014-12-02 16:15:02 -08:00
stub_main.c
stub_rx.c
stub_tx.c
usbip_common.c
usbip_common.h
usbip_event.c
usbip_protocol.txt
vhci.h
vhci_hcd.c usbip: vhci_hcd: at unlink, return -EIDRM if vhci_rx took the urb 2015-10-04 10:59:03 +01:00
vhci_rx.c
vhci_sysfs.c
vhci_tx.c

README

TODO:
	- more discussion about the protocol
	- testing
	- review of the userspace interface
	- document the protocol

Please send patches for this code to Greg Kroah-Hartman <greg@kroah.com>