OSDN Git Service

ipv6: icmp6: add drop reason support to icmpv6_echo_reply()
authorEric Dumazet <edumazet@google.com>
Thu, 16 Feb 2023 16:28:42 +0000 (16:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Feb 2023 08:54:23 +0000 (08:54 +0000)
commitac03694bc009703022cf45a9c90675d5505c584c
tree5ad08fa6db860df81a5d89216b704328765f5675
parentc34b8bb11ebc135e970653bd6fc8e3f863fb6a81
ipv6: icmp6: add drop reason support to icmpv6_echo_reply()

Change icmpv6_echo_reply() to return a drop reason.

For the moment, return NOT_SPECIFIED or SKB_CONSUMED.

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