ipv6: icmp6: add drop reason support to ndisc_recv_rs()
authorEric Dumazet <edumazet@google.com>
Thu, 16 Feb 2023 16:28:37 +0000 (16:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Feb 2023 08:54:23 +0000 (08:54 +0000)
commit243e37c642ac1d52858bc5f3559e380babf21169
treefb46c8500cb2d08c213345d46ee154997e83f451
parent3009f9ae21ec539985977dcaa0cebb628afeb181
ipv6: icmp6: add drop reason support to ndisc_recv_rs()

Change ndisc_recv_rs() 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