Home
last modified time | relevance | path

Searched hist:"8815 bb09af21316aeb5f8948b24ac62181670db2" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/usb/core/
H A Durb.cdiff 8815bb09af21316aeb5f8948b24ac62181670db2 Mon Apr 30 02:13:46 CDT 2012 Oliver Neukum <oliver@neukum.org> usbhid: prevent deadlock during timeout

On some HCDs usb_unlink_urb() can directly call the
completion handler. That limits the spinlocks that can
be taken in the handler to locks not held while calling
usb_unlink_urb()
To prevent a race with resubmission, this patch exposes
usbcore's infrastructure for blocking submission, uses it
and so drops the lock without causing a race in usbhid.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Acked-by: Jiri Kosina <jkosina@suse.cz>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
/openbmc/linux/drivers/hid/usbhid/
H A Dhid-core.cdiff 8815bb09af21316aeb5f8948b24ac62181670db2 Mon Apr 30 02:13:46 CDT 2012 Oliver Neukum <oliver@neukum.org> usbhid: prevent deadlock during timeout

On some HCDs usb_unlink_urb() can directly call the
completion handler. That limits the spinlocks that can
be taken in the handler to locks not held while calling
usb_unlink_urb()
To prevent a race with resubmission, this patch exposes
usbcore's infrastructure for blocking submission, uses it
and so drops the lock without causing a race in usbhid.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Acked-by: Jiri Kosina <jkosina@suse.cz>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
/openbmc/linux/include/linux/
H A Dusb.hdiff 8815bb09af21316aeb5f8948b24ac62181670db2 Mon Apr 30 02:13:46 CDT 2012 Oliver Neukum <oliver@neukum.org> usbhid: prevent deadlock during timeout

On some HCDs usb_unlink_urb() can directly call the
completion handler. That limits the spinlocks that can
be taken in the handler to locks not held while calling
usb_unlink_urb()
To prevent a race with resubmission, this patch exposes
usbcore's infrastructure for blocking submission, uses it
and so drops the lock without causing a race in usbhid.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Acked-by: Jiri Kosina <jkosina@suse.cz>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>