Re: tty: usb-serial krefs - bad magic number for tty struct (188:0)

From: Alan Cox
Date: Tue Oct 21 2008 - 08:39:13 EST


> one of the problems was the tty_kref_put(tty) in
> usb_serial_port_work() [drivers/usb/serial/usb-serial.c], that was
> releasing the tty device. I removed that line and it _almost_ worked.
> well, it worked, but only _once_. If I stopped the daemon and tried to

You removed a valid one not the erroneous one it seems.

Unfortunately your bug report doesn't actually say _WHICH_ USB serial
driver you are using which makes it a bit hard to be sure I'm looking for
the right bug.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/