ipv6: icmp6: add drop reason support to ndisc_recv_ns()
authorEric Dumazet <edumazet@google.com>
Thu, 16 Feb 2023 16:28:35 +0000 (16:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Feb 2023 08:54:23 +0000 (08:54 +0000)
commit7c9c8913f4523cda30a710736844d74bfee060a4
tree9861b2ccdbc33c181977d0a48013d95fa923a698
parentdd1b527831a3ed659afa01b672d8e1f7e6ca95a5
ipv6: icmp6: add drop reason support to ndisc_recv_ns()

Change ndisc_recv_ns() to return a drop reason.

For the moment, return PKT_TOO_SMALL, NOT_SPECIFIED
or SKB_CONSUMED.

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