On Wed, Jul 13, 2005 at 08:28:52AM +0200, Oliver Neukum wrote:
> Am Dienstag, 12. Juli 2005 20:57 schrieb Greg KH:
> > [PATCH] USB: fix usb reference count bug in cdc-acm driver
> > 
> > This increases the reference count on the usb cdc acm control interface
> > which is referred to by the tty interface provided by the driver. This
> > allows the deferred removal of the tty after the physical device is
> > disconnected if the tty is held open at the time of disconnection.
> 
> Is this really a wise thing to do?
> If the tty layer does the access the tty layer should hold the reference.

One would think so :(

Anyway, this seems to be the only proposed fix for a kernel oops that is
easily reproducable.

See http://bugme.osdl.org/show_bug.cgi?id=4407 for more details.

If anyone else suggests a better fix, I'd much rather have it.

thanks,

greg k-h


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to