OSDN Git Service

ipv6: icmp6: add drop reason support to ndisc_recv_na()
authorEric Dumazet <edumazet@google.com>
Thu, 16 Feb 2023 16:28:36 +0000 (16:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Feb 2023 08:54:23 +0000 (08:54 +0000)
commit3009f9ae21ec539985977dcaa0cebb628afeb181
tree40b688a81d7f8f509d87b8e5024c546d2444757a
parent7c9c8913f4523cda30a710736844d74bfee060a4
ipv6: icmp6: add drop reason support to ndisc_recv_na()

Change ndisc_recv_na() to return a drop reason.

For the moment, return PKT_TOO_SMALL, NOT_SPECIFIED
or SKB_CONSUMED. More reasons are added later.

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