OSDN Git Service

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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Apr 2014 13:42:17 +0000 (06:42 -0700)
commitdebd53455f49ecd18b4cb1198e20416bd25bf46e
tree52431b6db703049ef30db9fa8f4a2f9d7a617b02
parent29466c9fad0e72e57ded8dffabc68575d4399a4f
netpoll: fix the skb check in pkt_is_ns

[ Not applicable upstream commit, the code here has been removed
  upstream. ]

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