summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_ipv4.c
diff options
context:
space:
mode:
authorNikolay Borisov <kernel@kyup.com>2016-02-03 08:46:56 +0100
committerDavid S. Miller <davem@davemloft.net>2016-02-07 20:36:11 +0100
commit1e579caa18b96f9eb18f4f5416658cd15f37c062 (patch)
tree7c48df6e8e727a5db5ff50c3e6296ff96915c934 /net/ipv4/tcp_ipv4.c
parentipv4: Namespaceify tcp_orphan_retries sysctl knob (diff)
downloadlinux-1e579caa18b96f9eb18f4f5416658cd15f37c062.tar.xz
linux-1e579caa18b96f9eb18f4f5416658cd15f37c062.zip
ipv4: Namespaceify tcp_fin_timeout 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 1240dd62eee1..36c83c28d9c9 100644
--- a/net/ipv4/tcp_ipv4.c
+++ b/net/ipv4/tcp_ipv4.c
@@ -2394,6 +2394,7 @@ static int __net_init tcp_sk_init(struct net *net)
net->ipv4.sysctl_tcp_retries1 = TCP_RETR1;
net->ipv4.sysctl_tcp_retries2 = TCP_RETR2;
net->ipv4.sysctl_tcp_orphan_retries = 0;
+ net->ipv4.sysctl_tcp_fin_timeout = TCP_FIN_TIMEOUT;
return 0;
fail: