Hi,

David's remark about documenting the locking needed between
usb_Set_configuration() and probe() caused me to look through
other parts of usbcore.

Well, sadly I found some.

Races with disconnect:
All synchronous operations (usb_reset_device, usb_clear_halt, ...)

Races with probe:
usb_reset_device, a probe while resetting is bound to malfunction

Would anybody object to solve this with proper locking ?
Would anybody object to changing the semaphore in usb_device
into an rw semaphore ?

        Regards
                Oliver



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to