diff options
author | Eric Dumazet <edumazet@google.com> | 2017-10-26 21:54:57 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-27 16:35:42 +0900 |
commit | e20223f1962831d1b1c416d59d259879d0639d68 (patch) | |
tree | a82676f59d21fe385c78d140c8cc43ee6b63ea67 /net/ipv4/sysctl_net_ipv4.c | |
parent | 2ae21cf527da0e5cf9d7ee14bd5b0909bb9d1a75 (diff) | |
download | linux-e20223f1962831d1b1c416d59d259879d0639d68.tar.gz linux-e20223f1962831d1b1c416d59d259879d0639d68.tar.bz2 linux-e20223f1962831d1b1c416d59d259879d0639d68.zip |
tcp: Namespace-ify sysctl_tcp_recovery
Signed-off-by: Eric Dumazet <edumazet@google.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 f0f650f020af..78019adcae87 100644 --- a/net/ipv4/sysctl_net_ipv4.c +++ b/net/ipv4/sysctl_net_ipv4.c @@ -450,13 +450,6 @@ static struct ctl_table ipv4_table[] = { .proc_handler = proc_dointvec }, { - .procname = "tcp_recovery", - .data = &sysctl_tcp_recovery, - .maxlen = sizeof(int), - .mode = 0644, - .proc_handler = proc_dointvec, - }, - { .procname = "tcp_max_reordering", .data = &sysctl_tcp_max_reordering, .maxlen = sizeof(int), @@ -1145,6 +1138,13 @@ static struct ctl_table ipv4_net_table[] = { .extra1 = &zero, .extra2 = &four, }, + { + .procname = "tcp_recovery", + .data = &init_net.ipv4.sysctl_tcp_recovery, + .maxlen = sizeof(int), + .mode = 0644, + .proc_handler = proc_dointvec, + }, { } }; |