Messages in this thread | | | Date | Sat, 6 Feb 1999 11:11:41 -0800 (PST) | From | Linus Torvalds <> | Subject | Re: Linux-2.2.2-pre2.. |
| |
On 5 Feb 1999, Philippe Troin wrote: > > Corresponding lines on do_tty_hangup (oopses on line 440): > 435 /* > 436 * Shutdown the current line discipline, and reset it to > 437 * N_TTY. > 438 */ > 439 if (tty->driver.flags & TTY_DRIVER_RESET_TERMIOS) > 440 *tty->termios = tty->driver.init_termios; > 441 if (tty->ldisc.num != ldiscs[N_TTY].num) { > 442 if (tty->ldisc.close) > 443 (tty->ldisc.close)(tty); > 444 tty->ldisc = ldiscs[N_TTY]; >
Does it go away if you just add a test for
if (tty->termios) *tty->termios = tty->driver.init_termios;
?
Linus
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |