Freeing an URB you own is always legal. Unlinking an URB that's not linked is a different issue. For the moment I don't want to confuse things by talking about those cases.
----- Original Message ----- From: "Oliver Neukum" <[EMAIL PROTECTED]> To: "David Brownell" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, January 14, 2002 11:01 AM Subject: Re: [linux-usb-devel] Re: two bugs in usb-skeleton > > > 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. > > Freeing an urb from the completion handler is legal ? > How does usb_unlink_urb() work under these circumstances ? > Global spinlock ? > > Regards > Oliver _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel