David Brownell wrote:
Alan Stern wrote:


The struct device embedded within a struct usb_interface is initialized as soon as the structure is allocated, so that when put_device() is called it will contain valid data.

put_device() is not called for unallocated interfaces.


Sounds related to something I recently ran into.  Basically,
...

This problem actually seems unrelated. The problem was that the code was pairing device_unregister() with device_add(), instead of device_del(), which mean that refcounts got trashed when the just-unregistered device got reused later.

- Dave






------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to