diff options
author | Mahesh Bandewar <maheshb@google.com> | 2023-04-18 18:32:38 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-04-20 20:07:50 -0700 |
commit | 7ab75456be144a354fbb3df1516d82fc24d3d67d (patch) | |
tree | 75078bedff017f6e63141db713acc430a0064404 /include | |
parent | b7b871f5dc4c854f3c1f444397493c7a7bc79c73 (diff) | |
download | linux-stable-7ab75456be144a354fbb3df1516d82fc24d3d67d.tar.gz linux-stable-7ab75456be144a354fbb3df1516d82fc24d3d67d.tar.bz2 linux-stable-7ab75456be144a354fbb3df1516d82fc24d3d67d.zip |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/netns/ipv6.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netns/ipv6.h b/include/net/netns/ipv6.h index b4af4837d80b..3cceb3e9320b 100644 --- a/include/net/netns/ipv6.h +++ b/include/net/netns/ipv6.h @@ -55,6 +55,7 @@ struct netns_sysctl_ipv6 { u64 ioam6_id_wide; bool skip_notify_on_dev_down; u8 fib_notify_on_flag_change; + u8 icmpv6_error_anycast_as_unicast; }; struct netns_ipv6 { |