]> 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)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 26 Jun 2011 16:46:49 +0000 (12:46 -0400)
commitd9d768e7609c3a335207e404fdc0e204929ab1f9
treec14d965d25cd6809f965f18260cfe772c779f86b
parent436e52f1a628233f080605dd736594df250897ca
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: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/staging/usbip/vhci.h
drivers/staging/usbip/vhci_hcd.c
drivers/staging/usbip/vhci_rx.c