summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp.c
diff options
context:
space:
mode:
authorNikolay Borisov <kernel@kyup.com>2016-02-03 08:46:52 +0100
committerDavid S. Miller <davem@davemloft.net>2016-02-07 20:35:10 +0100
commit1043e25ff96a1efc7bd34d11f5f32203a28a3bd7 (patch)
tree56eb979f398384e49864dfcfb40d0c48e7a7f622 /net/ipv4/tcp.c
parentipv4: Namespaceify tcp syncookies sysctl knob (diff)
downloadlinux-1043e25ff96a1efc7bd34d11f5f32203a28a3bd7.tar.xz
linux-1043e25ff96a1efc7bd34d11f5f32203a28a3bd7.zip
ipv4: Namespaceify tcp reordering sysctl knob
Signed-off-by: Nikolay Borisov <kernel@kyup.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp.c')
-rw-r--r--net/ipv4/tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
index 3dbb3637bb4b..f4db6b04cdb4 100644
--- a/net/ipv4/tcp.c
+++ b/net/ipv4/tcp.c
@@ -406,7 +406,7 @@ void tcp_init_sock(struct sock *sk)
tp->mss_cache = TCP_MSS_DEFAULT;
u64_stats_init(&tp->syncp);
- tp->reordering = sysctl_tcp_reordering;
+ tp->reordering = sock_net(sk)->ipv4.sysctl_tcp_reordering;
tcp_enable_early_retrans(tp);
tcp_assign_congestion_control(sk);