summaryrefslogtreecommitdiff
path: root/include/net/netns
diff options
context:
space:
mode:
authorMahesh Bandewar <maheshb@google.com>2023-04-19 04:32:38 +0300
committerJakub Kicinski <kuba@kernel.org>2023-04-21 06:07:50 +0300
commit7ab75456be144a354fbb3df1516d82fc24d3d67d (patch)
tree75078bedff017f6e63141db713acc430a0064404 /include/net/netns
parentb7b871f5dc4c854f3c1f444397493c7a7bc79c73 (diff)
downloadlinux-7ab75456be144a354fbb3df1516d82fc24d3d67d.tar.xz
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/net/netns')
-rw-r--r--include/net/netns/ipv6.h1
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 {