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-03 01:16:54 +0200 |
commit | 166bd890a3d851b7cfdf3e417917878bfe4671f1 (patch) | |
tree | 9c8341d3d67388dac9f394cf0314f1a1b1bc3218 /net/ipv6/sysctl_net_ipv6.c | |
parent | cdc_subset: deal with a device that needs reset for timeout (diff) | |
download | linux-166bd890a3d851b7cfdf3e417917878bfe4671f1.tar.xz linux-166bd890a3d851b7cfdf3e417917878bfe4671f1.zip |
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>
Diffstat (limited to 'net/ipv6/sysctl_net_ipv6.c')
-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) |