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