> This really makes no sense to me. There's a field, with > an SMP-safe lock. The protocol between one layer and > the next involves holding that lock before changing that > field. And you're saying that's racey. How?
It seems to me that you are racing against HC hardware. You cannot unlink an URB that is being executed, can you? At the same time you must retain EINPROGRESS in the status field until some time _after_ io is completed, because you need to evaluate the result of the transfer. IMHO the only way to learn whether an URB can be unlinked is to try it. Regards Oliver ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel