diff options
author | Hannes Frederic Sowa <hannes@stressinduktion.org> | 2014-08-01 14:41:10 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-08-02 16:16:54 -0700 |
commit | 166bd890a3d851b7cfdf3e417917878bfe4671f1 (patch) | |
tree | 9c8341d3d67388dac9f394cf0314f1a1b1bc3218 | |
parent | dbcdd4d58c7230bea3157d56d6ef77c493b3865b (diff) |
ipv6: data of fwmark_reflect sysctl needs to be updated on netns construction
Fixes: e110861f86094cd ("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>
-rw-r--r-- | net/ipv6/sysctl_net_ipv6.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/sysctl_net_ipv6.c b/net/ipv6/sysctl_net_ipv6.c index 058f3eca2e53..818334619abb 100644 --- a/net/ipv6/sysctl_net_ipv6.c +++ b/net/ipv6/sysctl_net_ipv6.c @@ -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) |