[PATCH] netconsole: avoid null pointer dereference at show_local_mac()

2008-02-15 Thread Keiichi KII
From: Keiichi KII [EMAIL PROTECTED] 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

Re: [PATCH] netconsole: avoid null pointer dereference at show_local_mac()

2008-02-15 Thread David Miller
From: Keiichi KII [EMAIL PROTECTED] 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