IPv6: move the anycast_src_echo_reply sysctl to netns_sysctl_ipv6
This change move anycast_src_echo_reply sysctl with other ipv6 sysctls. Suggested-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: Francois-Xavier Le Bail <fx.lebail@yahoo.com> Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
0e864b21e5
commit
ec35b61ea5
@@ -559,7 +559,7 @@ static void icmpv6_echo_reply(struct sk_buff *skb)
|
||||
saddr = &ipv6_hdr(skb)->daddr;
|
||||
|
||||
if (!ipv6_unicast_destination(skb) &&
|
||||
!(net->ipv6.anycast_src_echo_reply &&
|
||||
!(net->ipv6.sysctl.anycast_src_echo_reply &&
|
||||
ipv6_anycast_destination(skb)))
|
||||
saddr = NULL;
|
||||
|
||||
|
Reference in New Issue
Block a user