ipv6: icmp6: add drop reason support to icmpv6_notify()
authorEric Dumazet <edumazet@google.com>
Fri, 10 Feb 2023 18:47:07 +0000 (18:47 +0000)
committerJakub Kicinski <kuba@kernel.org>
Tue, 14 Feb 2023 03:55:32 +0000 (19:55 -0800)
commit30c89bad3ea2ef7a2d4686f9c3cc08420fe627bc
treeb3669633ac645d4dc9ad86bfed039b1596f440f0
parent1fb2d41501f38192d8a19da585cd441cf8845697
ipv6: icmp6: add drop reason support to icmpv6_notify()

Accurately reports what happened in icmpv6_notify() when handling
a packet.

This makes use of the new IPV6_BAD_EXTHDR drop reason.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/ipv6.h
net/ipv6/icmp.c