Keiichi KII 69c3683ca7 netconsole: avoid null pointer dereference at show_local_mac()
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().

Signed-off-by: Keiichi KII <k-keiichi@bx.jp.nec.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-02-15 02:01:58 -08:00
..
2008-02-09 03:33:40 -05:00
2008-02-05 09:44:23 -08:00
2008-02-06 10:41:15 -08:00
2008-02-07 20:39:44 -05:00
2008-02-08 14:32:37 -08:00
2008-02-08 09:22:38 -08:00
2008-02-08 02:11:39 +00:00
2008-02-03 17:21:01 +02:00
2008-02-07 08:42:23 -08:00
2008-02-09 10:46:40 +01:00
2008-01-31 11:25:51 +11:00
2008-02-09 23:27:01 -08:00
2008-02-09 10:43:58 +01:00
2008-02-03 17:30:25 +02:00
2008-02-06 10:41:07 -08:00