diff options
author | 2016-02-03 09:46:50 +0200 | |
---|---|---|
committer | 2016-02-07 14:35:10 -0500 | |
commit | 7c083ecb3ba4583a625d5ff9655d1a819e374493 (patch) | |
tree | de833034c44e605efdc1f15967df49e2895aa73e /net/ipv4/sysctl_net_ipv4.c | |
parent | ipv4: Namespaceify tcp syn retries sysctl knob (diff) | |
download | linux-7c083ecb3ba4583a625d5ff9655d1a819e374493.tar.gz linux-7c083ecb3ba4583a625d5ff9655d1a819e374493.tar.bz2 linux-7c083ecb3ba4583a625d5ff9655d1a819e374493.zip |
ipv4: Namespaceify tcp synack retries sysctl knob
Signed-off-by: Nikolay Borisov <kernel@kyup.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/sysctl_net_ipv4.c')
-rw-r--r-- | net/ipv4/sysctl_net_ipv4.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/net/ipv4/sysctl_net_ipv4.c b/net/ipv4/sysctl_net_ipv4.c index ae9dd8823134..bb682e36d8b7 100644 --- a/net/ipv4/sysctl_net_ipv4.c +++ b/net/ipv4/sysctl_net_ipv4.c @@ -292,13 +292,6 @@ static struct ctl_table ipv4_table[] = { .extra2 = &ip_ttl_max, }, { - .procname = "tcp_synack_retries", - .data = &sysctl_tcp_synack_retries, - .maxlen = sizeof(int), - .mode = 0644, - .proc_handler = proc_dointvec - }, - { .procname = "tcp_max_orphans", .data = &sysctl_tcp_max_orphans, .maxlen = sizeof(int), @@ -960,6 +953,13 @@ static struct ctl_table ipv4_net_table[] = { .extra1 = &tcp_syn_retries_min, .extra2 = &tcp_syn_retries_max }, + { + .procname = "tcp_synack_retries", + .data = &init_net.ipv4.sysctl_tcp_synack_retries, + .maxlen = sizeof(int), + .mode = 0644, + .proc_handler = proc_dointvec + }, { } }; |