Re: [PATCH] tty: fix bug - kernel can't be pinged through whenbootargs console=null

From: Alan Cox
Date: Fri Feb 06 2009 - 04:34:58 EST


On Fri, 6 Feb 2009 16:27:57 +0800
Bryan Wu <cooloney@xxxxxxxxxx> wrote:

> From: Sonic Zhang <sonic.zhang@xxxxxxxxxx>
>
> when pass bootargs console=null into kernel from u-boot, the booted up
> kernel can't be pinged through. This happens after the kernel is upgraded
> to 2.6.28.
>
> Should check if tty_driver is NULL before call kref_get() in tty_driver_kref_get().

Should not call tty_driver_kref_get(NULL) in the first place....

Need to fix the real bug not paper over it
--
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/