lkml.org 
[lkml]   [1997]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: TTY changes to 2.1.65
On Mon, 24 Nov 1997 tytso@mit.edu wrote:

>Hi Linus,
>
> The following patches fix a few bugs in the serial driver, as

And it add a new one :) that continues to _lock_ my kernel when I close a
xterm.

Here the patch against 2.1.66:

--- linux/drivers/char/tty_io.c Fri Nov 28 12:21:59 1997
+++ /home/andrea/devel/linux/drivers/char/tty_io.c Sat Nov 29 17:40:25 1997
@@ -451,7 +451,7 @@
#ifdef TTY_DEBUG_HANGUP
printk("%s hangup...\n", tty_name(tty));
#endif
- queue_task(&tty->tq_hangup, &tq_timer);
+ queue_task(&tty->tq_hangup, &tq_immediate);
}

void tty_vhangup(struct tty_struct * tty)

Another warning: low_latency is never initialized and in another point
you use queue_task(&tty->tq_hangup, &tq_timer);.

Andrea[s] Arcangeli


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