[RFC 0/4] tty: port hangup and close issues

2013-02-13 Thread Johan Hovold
As mentioned in a previous mail there is a problem in the tty layer which affects the USB-serial drivers. In summary, a call to dtr_rts() can be made even after the device has been disconnected and the tty device unregistered. This can be worked around in usb-serial core by checking the disconnect

Re: [RFC 0/4] tty: port hangup and close issues

2013-02-13 Thread Alan Cox
> [ Note that this closing of an uninitialised port seems to be a bug in > itself, which these patches aim to fix. ] You don't want to be cc'ing me on these - not my problem any more. (but you might want to fix the fact you reference port->tty without the lock or refcounts 8)) Alan -- To unsub

Re: [RFC 0/4] tty: port hangup and close issues

2013-02-13 Thread Johan Hovold
On Wed, Feb 13, 2013 at 05:36:30PM +, Alan Cox wrote: > > [ Note that this closing of an uninitialised port seems to be a bug in > > itself, which these patches aim to fix. ] > > You don't want to be cc'ing me on these - not my problem any more. > > (but you might want to fix the fact you r