]> 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)
committerAK <andi@firstfloor.org>
Thu, 31 Mar 2011 18:58:12 +0000 (11:58 -0700)
commit9f19953fd27806290a9943631ba2fdfd9edb8d0e
tree90182006e1e4e2c49019dbf3153dccf037967f88
parent1c8d316294916da7e2a2f1f178ca3f3bd6d7b531
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>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
drivers/staging/usbip/vhci.h
drivers/staging/usbip/vhci_hcd.c
drivers/staging/usbip/vhci_rx.c