netpoll: Should handle ETH_P_ARP other than ETH_P_IP in netpoll_neigh_reply
authorSonic Zhang <sonic.zhang@analog.com>
Wed, 11 Sep 2013 03:31:53 +0000 (11:31 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Oct 2013 23:08:29 +0000 (16:08 -0700)
commit0885f6b8bb0403a56546d302e749c1defe47339d
treeab3c1dc7ab4c7415f7a7ef08d02165a2b5e6ac16
parent9fdd73559c439ba7216bce159a78e44328c3a573
netpoll: Should handle ETH_P_ARP other than ETH_P_IP in netpoll_neigh_reply

[ Upstream commit b0dd663b60944a3ce86430fa35549fb37968bda0 ]

The received ARP request type in the Ethernet packet head is ETH_P_ARP other than ETH_P_IP.

[ Bug introduced by commit b7394d2429c198b1da3d46ac39192e891029ec0f
  ("netpoll: prepare for ipv6") ]

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/core/netpoll.c