Re: [patch] tty_io.c balance tty_ldisc_ref()
From: Alan
Date: Sun Dec 10 2006 - 16:20:06 EST
On Sun, 10 Dec 2006 12:56:55 -0800
dcarpenter <error27@xxxxxxxxx> wrote:
> tty_ldisc_deref() should only be called when
> tty_ldisc_ref() succeeds otherwise it triggers a BUG().
> There's already a function tty_ldisc_flush() that flushes
> properly.
Well spotted and nicely fixed.
>
> Signed-off-by: Dan Carpenter <error27@xxxxxxxxx>
Acked-by: Alan Cox <alan@xxxxxxxxxx>
-
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/