diff options
author | Nikolay Borisov <kernel@kyup.com> | 2016-01-07 09:38:45 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-01-10 17:32:09 -0500 |
commit | b840d15d39128d08ed4486085e5507d2617b9ae1 (patch) | |
tree | 33189ee2067bbb204c886affcbca9ac764621f94 /net/ipv4/tcp_ipv4.c | |
parent | 9bd6861bd4326e3afd3f14a9ec8a723771fb20bb (diff) |
ipv4: Namespecify the tcp_keepalive_intvl sysctl knob
This is the final part required to namespaceify the tcp
keep alive mechanism.
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index ed98de85871e..65947c1f4733 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c | |||
@@ -2387,6 +2387,7 @@ static int __net_init tcp_sk_init(struct net *net) | |||
2387 | 2387 | ||
2388 | net->ipv4.sysctl_tcp_keepalive_time = TCP_KEEPALIVE_TIME; | 2388 | net->ipv4.sysctl_tcp_keepalive_time = TCP_KEEPALIVE_TIME; |
2389 | net->ipv4.sysctl_tcp_keepalive_probes = TCP_KEEPALIVE_PROBES; | 2389 | net->ipv4.sysctl_tcp_keepalive_probes = TCP_KEEPALIVE_PROBES; |
2390 | net->ipv4.sysctl_tcp_keepalive_intvl = TCP_KEEPALIVE_INTVL; | ||
2390 | 2391 | ||
2391 | return 0; | 2392 | return 0; |
2392 | fail: | 2393 | fail: |