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

From: Rafael J. Wysocki
Date: Mon Jan 19 2009 - 11:28:56 EST


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?

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