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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Dec 2015 05:25:40 +0000 (21:25 -0800)
commit39b277a605e3ff7185f938e24c3a38d497a36061
tree2f12d73e22f169053814a776eb5897513362a4b2
parent99fd27082cbb9913d1fce741bad1e85cce0cc29b
net/neighbour: fix crash at dumping device-agnostic proxy entries

[ Upstream commit 6adc5fd6a142c6e2c80574c1db0c7c17dedaa42e ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/core/neighbour.c