ipv6: add icmpv6_error_anycast_as_unicast for ICMPv6
authorMahesh Bandewar <maheshb@google.com>
Wed, 19 Apr 2023 01:32:38 +0000 (18:32 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 21 Apr 2023 03:07:50 +0000 (20:07 -0700)
commit7ab75456be144a354fbb3df1516d82fc24d3d67d
tree75078bedff017f6e63141db713acc430a0064404
parentb7b871f5dc4c854f3c1f444397493c7a7bc79c73
ipv6: add icmpv6_error_anycast_as_unicast for ICMPv6

ICMPv6 error packets are not sent to the anycast destinations and this
prevents things like traceroute from working. So create a setting similar
to ECHO when dealing with Anycast sources (icmpv6_echo_ignore_anycast).

Signed-off-by: Mahesh Bandewar <maheshb@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Reviewed-by: Maciej Żenczykowski <maze@google.com>
Link: https://lore.kernel.org/r/20230419013238.2691167-1-maheshb@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/networking/ip-sysctl.rst
include/net/netns/ipv6.h
net/ipv6/af_inet6.c
net/ipv6/icmp.c