staging: usbip: bugfix for deadlock
commit1890296ca407bbc02f8e0ea4683f8a885ad0ae1d
authorBart Westgeest <bart@elbrys.com>
Tue, 1 Nov 2011 19:01:28 +0000 (1 15:01 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Dec 2011 17:21:41 +0000 (9 09:21 -0800)
tree7aa2eb480844ad4a3f242f06d7fe91e846905c7f
parent5aff28abc7e0ec1ddd562372ae4fa01e8e4d4073
staging: usbip: bugfix for deadlock

commit 438957f8d4a84daa7fa5be6978ad5897a2e9e5e5 upstream.

Interrupts must be disabled prior to calling usb_hcd_unlink_urb_from_ep.
If interrupts are not disabled, it can potentially lead to a deadlock.
The deadlock is readily reproduceable on a slower (ARM based) device
such as the TI Pandaboard.

Signed-off-by: Bart Westgeest <bart@elbrys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/usbip/vhci_rx.c