Skip to content

Commit

Permalink
ipv6: data of fwmark_reflect sysctl needs to be updated on netns cons…
Browse files Browse the repository at this point in the history
…truction

Fixes: e110861 ("net: add a sysctl to reflect the fwmark on replies")
Cc: Lorenzo Colitti <lorenzo@google.com>
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Hannes Frederic Sowa authored and David S. Miller committed Aug 2, 2014
1 parent dbcdd4d commit 166bd89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/ipv6/sysctl_net_ipv6.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ static int __net_init ipv6_sysctl_net_init(struct net *net)
ipv6_table[0].data = &net->ipv6.sysctl.bindv6only;
ipv6_table[1].data = &net->ipv6.sysctl.anycast_src_echo_reply;
ipv6_table[2].data = &net->ipv6.sysctl.flowlabel_consistency;
ipv6_table[3].data = &net->ipv6.sysctl.fwmark_reflect;

ipv6_route_table = ipv6_route_sysctl_init(net);
if (!ipv6_route_table)
Expand Down

0 comments on commit 166bd89

Please sign in to comment.