ipv6: icmp6: add SKB_DROP_REASON_IPV6_NDISC_NS_OTHERHOST
authorEric Dumazet <edumazet@google.com>
Thu, 16 Feb 2023 16:28:41 +0000 (16:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Feb 2023 08:54:23 +0000 (08:54 +0000)
commitc34b8bb11ebc135e970653bd6fc8e3f863fb6a81
treeef1b9c3f83a0573e50cc31d5dcaf7687267ef837
parent784d4477f07b930df73bc77e842e03f1dacb83aa
ipv6: icmp6: add SKB_DROP_REASON_IPV6_NDISC_NS_OTHERHOST

Hosts can often receive neighbour discovery messages
that are not for them.

Use a dedicated drop reason to make clear the packet is dropped
for this normal case.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dropreason.h
net/ipv6/ndisc.c