[PATCH net v2] ipv6: data of fwmark_reflect sysctl needs to be updated on netns construction
From: Hannes Frederic Sowa <hidden>
Date: 2014-08-01 12:41:18
Fixes: e110861f86094cd ("net: add a sysctl to reflect the fwmark on replies")
Cc: Lorenzo Colitti <redacted>
Signed-off-by: Hannes Frederic Sowa <redacted>
---
Sorry, missed the correct patch on the earlier submission. This knob
needs to be renumbered to '4' when merged with net-next.
net/ipv6/sysctl_net_ipv6.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/ipv6/sysctl_net_ipv6.c b/net/ipv6/sysctl_net_ipv6.c
index 058f3ec..8183346 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)
--
1.9.3