diff options
author | 2008-02-15 02:01:58 -0800 | |
---|---|---|
committer | 2008-02-15 02:01:58 -0800 | |
commit | 69c3683ca7fe066ecba9e8a0424c5abd258a5d58 (patch) | |
tree | 885d2e9eca411c70d600623b2bfb9526304f1320 /lib/parser.c | |
parent | [IPV6]: Fix reversed local_df test in ip6_fragment (diff) | |
download | wireguard-linux-69c3683ca7fe066ecba9e8a0424c5abd258a5d58.tar.xz wireguard-linux-69c3683ca7fe066ecba9e8a0424c5abd258a5d58.zip |
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>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions