On Thu, Apr 08, 2004 at 11:39:06PM +0200, Marcel Holtmann wrote:
> many thanks for looking at the problem. I am not an expert when it comes
> to USB internals, but from your explanation I ask myself why we don't
> have an unlink function that will wait until the last reference to the
> URB is gone. Why do we have to do it in the driver itself?

As you are handling the urb allocation logic yourself, this is a side
affect from that.  If you use usb_free_urb() and usb_alloc_urb() you
will never see this problem, as the reference counting logic will handle
it all for you automatically.

I did warn you that you need to be careful when doing what you are
trying to do :)

thanks,

greg k-h


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to