Re: [PATCH] hid: usbhid: fix possible deadlock in __usbhid_submit_report

Started by Ming Lei on Apr 20, 2012

open the first message on its own page

Message details and related content
On Fri, Apr 20, 2012 at 6:45 PM, Oliver Neukum [off-list ref] wrote:
To be blunt, I'd prefer a guarantee that allows usb_unlink_urb() to be
called with spinlocks held.
It is allowed to be called with spinlocks held, but the same lock is not
allowed to be acquired in complete handler.

I understand you mean URB complete handler should be guaranteed
to be run only in IRQ context and can't be called by usb_unlink_urb,
don't I?

If yes, many hc drivers are still involved to be modified.

thanks,
--
Ming Lei
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help