]> www.infradead.org Git - users/jedix/linux-maple.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)
committerSomasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Fri, 25 Aug 2017 17:21:51 +0000 (10:21 -0700)
commit886371ae000bfa26ccfbb753925e16220e4b8fe0
tree5b0cafec8205a8c9bebca14874034c4c3865dc7d
parent16d79ce57885b15af819030295f43f3315345348
usb: usbip: Fix possible deadlocks reported by lockdep

Orabug: 26668125

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>
(cherry picked from commit 21619792d1eca7e772ca190ba68588e57f29595b)
Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
Conflicts:
drivers/usb/usbip/vhci_hcd.c
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