>> Hello,
>> 
>> Is there a way to unlink an URB from within its completition handler
>> without crashing the system? (Both SINC and ASYNC unlink crash the
>> system if doing such a thing)

>Why do you want to unlink an urb from within its completion handler?  The
>fact that the handler is running means that the urb has already been
>unlinked -- unless the handler resubmitted it.  Why would you resubmit an
>urb and then cancel immediately afterward?

>What version of Linux crashes when you unlink an urb from within its 
>completion handler?

>Are you sure that the unlink is the cause of the crash, not some other
>operation?


Thank you for your answer,

      I think i miswrote the problem. I used urb->next = urb to continuosly submit an 
URB. Under certain conditions, i need to remove any other submitions from within the 
completition handler (and exit from it). But the kernel suddenly crashes. I am using 
Linux 2.4.19 and the uhci module. I am sure the unlink function is the cause of the 
problem.

Luca






-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to