Re: Possible race condition in usb-serial.c

Greg KH
2006-12-20T20:44:27Z

On Wed, Dec 20, 2006 at 11:32:31AM -0800, J wrote:
> Thank you for the explanation.
>
> > serial_close is safe because serial_disconnect
> > lowers the refcount
>
> Sorry, I meant serial_open, as in my original example.
>
> I am currently trying to fix a legacy 2.4 based USB
> driver and I am having various races,
> serial_open/usb_serial_disconnect is the most lively.
> I am not asking your help in fixing this old 2.4 junk
> (in fact I already fixed it using a global semaphore
> to protect serial_table).

Which usb-serial driver are you having problems with? What is the oops
trace? What version of the 2.4 kernel are you using?

And why are you taking the linux-usb-devel list out of the cc:? :)

thanks,

greg k-h