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

Mike Galbraith (mikeg@weiden.de)
Sun, 17 Jan 1999 20:10:14 +0100 (CET)


On Sun, 17 Jan 1999, Alan Cox wrote:

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

Hmm.. musta flinched, I was only aiming to wing the critter. :)

-Mike

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