[PATCH] USB: fix deadlock in hub_reset
usb_reset_device takes hdev->serialize. However, hub_reset is (only) called by hub_events, which already holds the lock. Thanks to Tyler Nielsen for the bug report and helpful backtrace. Signed-off-by: Duncan Sands <baldrick@free.fr> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Showing
Please register or sign in to comment