This patch (compile tested only) moves handling of USBDEVFS_GETDRIVER,
USBDEVFS_CONNECTINFO, USBDEVFS_REAPURB, USBDEVFS_REAPURBNDELAY,
USBDEVFS_DISCSIGNAL out of the ps->dev->exclusive_access lock.

Well, it takes the ps->dev->exclusive_access also to see that the ioctl does not exist. Someone who checks ioctls of different kernels to see which succeeds might get into a livelock with this.


--
Meelis Roos ([EMAIL PROTECTED])


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to