On Thursday 04 Sep 2003 21:51, Greg KH wrote: > On Thu, Sep 04, 2003 at 11:34:09AM -0700, Greg KH wrote: > > On Thu, Sep 04, 2003 at 07:21:54PM +0100, Ian Abbott wrote: > > > If port->open_count > 0, the final call to __serial_close > > > sets port->tty = NULL, resulting in the null pointer > > > dereference on the final line above. > > > > Ah, nice catch, thanks. > > So does the following patch solve the problem for you? > > Hm, this is probably the better patch for this instead. Can you > try this?
Yes it works okay. The only niggle is that if I do 'cat /dev/ttyUSB0' (or /dev/usb/tts/0 in my case) and then disconnect, the process is still sat there doing a blocking read. -- -=( Ian Abbott @ MEV Ltd. E-mail: <[EMAIL PROTECTED]> )=- -=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=- ------------------------------------------------------- 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
