]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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:47:20 +0000 (06:47 -0700)
commitad52e55b70e250f8835efe5757cc49b3cb11388b
tree395ae7a342b1ad5bb69b59e6b055fa4c94707b09
parent5bd0d8ba2538d16961e31c92d62cabaa1d3c9b58
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