lkml.org 
[lkml]   [1999]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.189 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site