Fairly recently Tom (I think) added the ability to use 0-interval
('one-shot') interrupts from usbdevfs, by simply adding it to the case
statement in devio.c; however AFAIK OHCI doesn't provide one-shot
interrupts.  Unless I'm completely misreading what will happen, it
seems to me that devio.c will think it's done - and free() it when the
user reads it back - but the URB will still be -EINPROGRESS which (I
think) will result in bad things, i.e. accessing free()'d memory?

I did send a patch that (IMVHO) corectly adds one-shot interrupts, but
it was essentially ignored.  I have no idea why.  But it's in the
archives.  I can resend if anyone's interested.

Later.


-- 
Dan Streetman
[EMAIL PROTECTED]
--------------------------------------------------
186,282 miles per second:
It isn't just a good idea, it's the law!


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

Reply via email to