Re: [PROGRESS!] A simple way to lock up 2.2.0-pre7

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sun, 17 Jan 1999 17:21:04 +0000 (GMT)


> With this in, I can no longer induce the error, and the tty still works.
>
> 925 add_wait_queue(&tty->read_wait, &wait);
> 926
> 927 if (down_interruptible(&tty->atomic_read)) {
> 928 remove_wait_queue(&tty->read_wait, &wait); /*MIKEDIDIT*/
> 929 return -ERESTARTSYS;
> 930 }

Fixes the problem here as well. Your fix appears correct to me.

Alan

-
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/