The hcd.c code which maintains that list is protected by hcd_data_lock,(1) The core or HCD will unlink all URBs for a removed device when it's removedTo do so you need to add the urb to a per device list, which has to be locked. The problems arise if you loose the race. Where do you put the lock ?
which is not available outside that layer.
-------------------------------------------------------
This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel