> > > there's ALWAYS a race on SMPs between completion handler > > > finishing with that URB, and other driver code reusing it. > > > that makes no sense.
Then think about it some more, until it does. > In the isr, which calls the completion handler, the flag is _cleared_ / > counter decremented, _after_ the completion handler. No can do. For control/bulk (and some periodic cases), that handler may have freed the URB (and perhaps poisoned it). Even without being SMP, such memory could have been reused for something else by that point. (I've certainly seen that happen.) Such flags don't really even _exist_ after such completion callbacks. - Dave _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel