]> git.karo-electronics.de Git - linux-beck.git/commit
usb: usbip: Fix possible deadlocks reported by lockdep
authorAndrew Goodbody <andrew.goodbody@cambrionix.com>
Tue, 2 Feb 2016 17:36:39 +0000 (17:36 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 21:52:10 +0000 (13:52 -0800)
commit21619792d1eca7e772ca190ba68588e57f29595b
tree0666d7cf6194cc9f1db63f84aad80d038ce4159f
parent46e3cafb01feb107a681e89fd9b4f1cd938a601f
usb: usbip: Fix possible deadlocks reported by lockdep

Change spin_lock calls to spin_lock_irqsave to prevent
attmpted recursive lock taking in interrupt context.

This patch fixes Bug 109351
  https://bugzilla.kernel.org/show_bug.cgi?id=109351

Signed-off-by: Andrew Goodbody <andrew.goodbody@cambrionix.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/usbip/usbip_event.c
drivers/usb/usbip/vhci_hcd.c
drivers/usb/usbip/vhci_rx.c
drivers/usb/usbip/vhci_sysfs.c
drivers/usb/usbip/vhci_tx.c