> @@ -853,6 +854,10 @@ > usbfs_remove_device(dev); > } > device_unregister(&dev->dev); > + > + /* mark the device as not present so any further urb submissions for > + * this device will fail. */ > + dev->present = 0; > > /* Decrement the reference count, it'll auto free everything when */ > /* it hits 0 which could very well be now */
Isn't this racy? Duncan. ------------------------------------------------------- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel