net/neighbour: fix crash at dumping device-agnostic proxy entries
authorKonstantin Khlebnikov <koct9i@gmail.com>
Mon, 30 Nov 2015 22:14:48 +0000 (01:14 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2015 05:07:51 +0000 (00:07 -0500)
commit6adc5fd6a142c6e2c80574c1db0c7c17dedaa42e
tree757beceaf7d992f37b769d6ac0cd643879279046
parentcacc06215271104b40773c99547c506095db6ad4
net/neighbour: fix crash at dumping device-agnostic proxy entries

Proxy entries could have null pointer to net-device.

Signed-off-by: Konstantin Khlebnikov <koct9i@gmail.com>
Fixes: 84920c1420e2 ("net: Allow ipv6 proxies and arp proxies be shown with iproute2")
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/neighbour.c