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-01-18 14:41:49 -05:00
2008-02-03 04:28:34 -08:00
2008-01-28 15:10:29 -08:00
2008-02-03 04:26:00 -08:00
2008-01-31 11:25:51 +11:00
2008-02-03 15:42:53 +02:00
2008-01-28 15:10:31 -08:00
2008-01-28 15:10:31 -08:00
2008-02-11 11:15:36 -05:00
2008-02-03 15:42:53 +02:00
2008-02-03 04:26:15 -08:00
2008-02-09 23:27:01 -08:00
2007-10-17 20:23:30 -04:00
2008-01-28 15:04:05 -08:00
2008-01-12 17:41:04 -05:00
2008-01-28 15:07:12 -08:00
2008-01-28 15:07:12 -08:00
2007-10-10 16:51:57 -07:00
2008-02-11 10:29:33 -05:00
2007-11-05 17:57:30 -05:00
2008-01-28 15:07:12 -08:00
2007-10-10 16:55:27 -07:00
2008-01-28 15:03:59 -08:00
2008-01-28 15:04:05 -08:00
2008-01-28 15:09:19 -08:00
2007-10-10 16:51:43 -07:00
2008-01-31 19:27:17 -08:00
2008-01-31 19:27:17 -08:00
2008-02-09 23:17:15 -08:00
2008-01-31 19:27:16 -08:00
2008-01-28 15:03:53 -08:00
2008-01-28 15:03:53 -08:00
2008-01-28 15:03:53 -08:00
2008-01-28 15:03:53 -08:00
2008-02-09 23:16:41 -08:00
2008-01-28 15:03:53 -08:00
2008-01-28 15:07:12 -08:00
2008-01-04 00:47:04 -08:00
2008-01-18 14:44:33 -05:00
2008-02-01 20:54:03 +11:00
2007-10-10 16:51:13 -07:00
2008-02-03 04:28:07 -08:00
2007-10-10 16:51:13 -07:00
2008-01-28 15:07:59 -08:00
2007-10-19 11:53:42 -07:00
2008-02-11 11:13:47 -05:00
2007-07-30 15:48:16 -04:00
2007-12-04 15:06:11 -05:00
2007-10-17 20:11:28 -04:00
2007-12-14 15:26:15 -05:00
2008-01-28 15:07:12 -08:00
2008-02-03 04:26:12 -08:00
2007-10-10 16:50:46 -07:00
2008-01-28 15:05:54 -08:00
2008-01-28 15:05:53 -08:00
2008-01-28 15:04:05 -08:00
2008-01-28 15:07:12 -08:00
2007-10-10 16:51:13 -07:00
2008-01-28 15:07:12 -08:00
2008-01-08 23:30:00 -08:00
2007-10-19 11:53:42 -07:00
2008-02-03 04:28:10 -08:00
2008-02-09 23:41:08 -08:00
2008-01-08 23:29:59 -08:00
2007-10-23 21:28:40 -04:00
2008-01-28 14:59:15 -08:00
2008-01-10 02:12:44 -08:00
2008-01-28 15:07:56 -08:00
2008-02-11 10:28:31 -05:00
2007-11-12 18:07:31 -08:00
2008-01-28 15:11:27 -08:00
2008-01-28 15:11:27 -08:00
2008-01-28 15:11:27 -08:00
2008-01-28 15:11:27 -08:00
2008-02-09 23:17:51 -08:00
2008-01-28 15:08:00 -08:00
2008-01-28 15:08:00 -08:00
2008-02-05 23:29:22 +01:00
2008-01-28 15:03:59 -08:00
2008-02-03 04:27:38 -08:00
2008-02-03 04:27:38 -08:00
2007-10-15 14:29:48 -04:00
2008-01-28 15:03:59 -08:00
2007-12-01 16:32:30 -05:00
2007-10-16 21:10:29 -04:00
2008-01-28 15:11:27 -08:00
2008-01-28 15:03:59 -08:00
2008-02-09 23:42:17 -08:00
2007-10-10 16:51:13 -07:00
2008-02-03 04:26:15 -08:00
2008-01-28 15:03:46 -08:00
2008-01-28 15:07:12 -08:00
2008-01-28 15:07:10 -08:00
2008-01-28 15:07:12 -08:00
2008-01-28 15:07:09 -08:00
2008-02-03 04:26:14 -08:00
2007-10-10 16:51:34 -07:00
2008-01-28 15:03:37 -08:00
2007-10-10 16:51:34 -07:00
2008-01-28 15:07:12 -08:00
2007-10-19 23:00:03 -04:00
2008-02-09 23:40:34 -08:00
2008-02-03 04:25:59 -08:00
2008-01-20 20:31:45 -08:00
2008-02-09 23:41:40 -08:00
2008-01-28 15:07:12 -08:00