Re: [tty bug] kernel BUG at drivers/char/tty_ldisc.c:359!

From: Andrew Morton
Date: Mon Jan 26 2009 - 16:41:50 EST


On Mon, 19 Jan 2009 17:27:48 +0100
"Rafael J. Wysocki" <rjw@xxxxxxx> wrote:

> On Tuesday 13 January 2009, Alan Cox wrote:
> > On Tue, 13 Jan 2009 13:10:39 +0100
> > Ingo Molnar <mingo@xxxxxxx> wrote:
> >
> > >
> > > FYI, -tip testing found a new warning in drivers/char/tty_ldisc.c:
> >
> > Thanks - yes there is a real bug that is exposed by the BKL drop if you
> > manage to hit the flush ioctl as the ldisc changes
> >
> > Change the
> > ld = tty_ldisc_ref(tty)
> >
> > to
> > ld = tty_ldisc_ref_wait(tty);
>
> Did this change go to Linus by chance?
>

I cannot locate any such fix.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/