Re: [PATCH] netconsole: avoid null pointer dereference atshow_local_mac()
From: David Miller
Date: Fri Feb 15 2008 - 05:01:54 EST
From: Keiichi KII <k-keiichi@xxxxxxxxxxxxx>
Date: Fri, 15 Feb 2008 18:45:48 +0900
> This patch avoids a null pointer dereference when we read local_mac
> for netconsole in configfs and shows default local mac address
> value.
>
> A null pointer dereference occurs when we call show_local_mac() via
> local_mac entry in configfs before we setup the content of netpoll
> using netpoll_setup().
>
> This patch is for 2.6.25-rc1.
> Your comments are very welcome.
>
> Signed-off-by: Keiichi KII <k-keiichi@xxxxxxxxxxxxx>
Patch applied, thank you.
--
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/