> >     - As a flag for whether the HCD owned the URB, now
> >       handled by a new urb->transfer_flags bit.  (Strictly
> >       speaking, this probably shouldn't be needed, but
> >       getting rid of such tests would be risky.)
> 
> With using transfer_flags in this way you have introduced a race
> with drivers which set the async_unlink flag in flight.

The same problem can come up with urbs being killed due
to timeout ... so that didn't "introduce" this at all.

At this point I'm believing that changing those flags should be
prohibited, like all other changes to URBs after submission.

Easy to deal with that in advance:  set that ASYNC_UNLINK
flag before submission.  I don't think there's another flag
that affects post-submit behavior.

- Dave



_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to