]> www.infradead.org Git - users/jedix/linux-maple.git/commit
staging: usbip: bugfix for deadlock
authorBart Westgeest <bart@elbrys.com>
Tue, 1 Nov 2011 19:01:28 +0000 (15:01 -0400)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Fri, 16 Dec 2011 01:14:28 +0000 (17:14 -0800)
commit933c00a045460804233008c4f9136339628d5a58
tree0640a1e1c0628b897e33e2e44e9ba36aea6443da
parentf34a8a655b5b747a9c3f842192d159d69cddff5b
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