[PATCH net v2] ipv6: data of fwmark_reflect sysctl needs to be updated on netns construction

Subsystems: networking [general], the rest

STALE4420d

2 messages, 2 authors, 2014-08-02 · open the first message on its own page

[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

Re: [PATCH net v2] ipv6: data of fwmark_reflect sysctl needs to be updated on netns construction

From: David Miller <davem@davemloft.net>
Date: 2014-08-02 23:17:55

From: Hannes Frederic Sowa <redacted>
Date: Fri,  1 Aug 2014 14:41:10 +0200
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.
Ok applied, thanks Hannes.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help