]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
staging: usbip: bugfix for deadlock
authorBart Westgeest <bart@elbrys.com>
Tue, 1 Nov 2011 19:01:28 +0000 (15:01 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 16 Jan 2013 21:44:59 +0000 (16:44 -0500)
commitbb3435c68eea53ece598243a9c481177372dafb4
tree386691601824b81ae11711aa81304eeed0b9d5bb
parent42585bfbff9ad0c9c03e47a1989f911a984ce618
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>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/staging/usbip/vhci_rx.c