summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_ipv4.c
diff options
context:
space:
mode:
authorNikolay Borisov <kernel@kyup.com>2016-02-03 08:46:53 +0100
committerDavid S. Miller <davem@davemloft.net>2016-02-07 20:35:10 +0100
commitae5c3f406cffe15ffd2aa544961b7cd027468d46 (patch)
tree4f5499a05fc3b033982b0678980f5e5415b3ab29 /net/ipv4/tcp_ipv4.c
parentipv4: Namespaceify tcp reordering sysctl knob (diff)
downloadlinux-ae5c3f406cffe15ffd2aa544961b7cd027468d46.tar.xz
linux-ae5c3f406cffe15ffd2aa544961b7cd027468d46.zip
ipv4: Namespaceify tcp_retries1 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_ipv4.c')
-rw-r--r--net/ipv4/tcp_ipv4.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c
index 10dfc8b5c0f8..57fe3c6bfb30 100644
--- a/net/ipv4/tcp_ipv4.c
+++ b/net/ipv4/tcp_ipv4.c
@@ -2391,6 +2391,7 @@ static int __net_init tcp_sk_init(struct net *net)
net->ipv4.sysctl_tcp_synack_retries = TCP_SYNACK_RETRIES;
net->ipv4.sysctl_tcp_syncookies = 0;
net->ipv4.sysctl_tcp_reordering = TCP_FASTRETRANS_THRESH;
+ net->ipv4.sysctl_tcp_retries1 = TCP_RETR1;
return 0;
fail: