Hi folks,
I saw a report of a kernel oops on the ftdi-sio-devel list. The
oops occurred when the [FTDI] USB serial device was unplugged while
doing 'cat /dev/ttyUSB0' and the oops was of the "Unabled to handle
kernel NULL pointer dereference" variety and the oops occurred in
the usb_serial_disconnect function. To cut to the chase, the
offending lines in usb_serial_disconnect are as follows:
while (port->open_count > 0) {
__serial_close(port, NULL);
}
port->tty->driver_data = NULL;
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.
--
-=( 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