]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: usbip: vhci: give back URBs from in-flight unlink requests
authorMax Vozeler <max@vozeler.com>
Wed, 12 Jan 2011 13:02:01 +0000 (15:02 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 2 Mar 2011 14:47:03 +0000 (09:47 -0500)
commitb076e7069f1c8d4c816f88065123f63669f2785e
tree4058febb90c915878f1b17f792306d6b65aa08ea
parent96ea4801d2035f89fc4ec4a67f49a18c35cb6715
staging: usbip: vhci: give back URBs from in-flight unlink requests

commit b92a5e23737172c52656a090977408a80d7f06d1 upstream.

If we never received a RET_UNLINK because the TCP
connection broke the pending URBs still need to be
unlinked and given back.

Previously processes would be stuck trying to kill
the URB even after the device was detached.

Signed-off-by: Max Vozeler <max@vozeler.com>
Tested-by: Mark Wehby <MWehby@luxotticaRetail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/usbip/vhci.h
drivers/staging/usbip/vhci_hcd.c
drivers/staging/usbip/vhci_rx.c