X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=net%2Fcore%2Fnetpoll.c;h=df9e6b1a975920f47fbd68b540ccb4d7f8511759;hb=c27f0872a3448c46e561e226b5b97f77187b06d2;hp=a664f7829a6d16db4579789ca5b8c40654cc78d7;hpb=8c35743fdc3c013cbb9832dc9c5eb04362b86cbb;p=~andy%2Flinux diff --git a/net/core/netpoll.c b/net/core/netpoll.c index a664f7829a6..df9e6b1a975 100644 --- a/net/core/netpoll.c +++ b/net/core/netpoll.c @@ -742,7 +742,7 @@ static bool pkt_is_ns(struct sk_buff *skb) struct nd_msg *msg; struct ipv6hdr *hdr; - if (skb->protocol != htons(ETH_P_ARP)) + if (skb->protocol != htons(ETH_P_IPV6)) return false; if (!pskb_may_pull(skb, sizeof(struct ipv6hdr) + sizeof(struct nd_msg))) return false;