net/neighbour: fix crash at dumping device-agnostic proxy entries

[ Upstream commit 6adc5fd6a1 ]

Proxy entries could have null pointer to net-device.

Signed-off-by: Konstantin Khlebnikov <koct9i@gmail.com>
Fixes: 84920c1420 ("net: Allow ipv6 proxies and arp proxies be shown with iproute2")
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
This commit is contained in:
Konstantin Khlebnikov 2015-12-01 01:14:48 +03:00 • committed by Sasha Levin
commit 18c103ad86