netpoll: fix the skb check in pkt_is_ns
authorLi RongQing <roy.qing.li@gmail.com>
Fri, 21 Mar 2014 12:53:57 +0000 (20:53 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Mar 2014 19:08:40 +0000 (15:08 -0400)
commitc27f0872a3448c46e561e226b5b97f77187b06d2
tree984e53e8277ec8b4bd50ee7b1bd8a803cfa02b85
parentebf4ad955d3e26d4d2a33709624fc7b5b9d3b969
netpoll: fix the skb check in pkt_is_ns

Neighbor Solicitation is ipv6 protocol, so we should check
skb->protocol with ETH_P_IPV6

Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
Cc: WANG Cong <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/netpoll.c