OSDN Git Service

ipv6: icmp6: add drop reason support to ndisc_router_discovery()
authorEric Dumazet <edumazet@google.com>
Thu, 16 Feb 2023 16:28:38 +0000 (16:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Feb 2023 08:54:23 +0000 (08:54 +0000)
commit2f326d9d9ff46fb2e45fb3b6ae77eff04332dde6
treedd050826f585e57ad99cd5e798c9133c1663b38c
parent243e37c642ac1d52858bc5f3559e380babf21169
ipv6: icmp6: add drop reason support to ndisc_router_discovery()

Change ndisc_router_discovery() to return a drop reason.

For the moment, return PKT_TOO_SMALL, NOT_SPECIFIED
and 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