diff options
author | Eric Dumazet <edumazet@google.com> | 2017-10-27 07:47:29 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-28 19:24:39 +0900 |
commit | 790f00e19f65673c3c169dfc137c09a9236847d5 (patch) | |
tree | 647e65ea86c81ff29cf1fd8c5bedae63d8e23212 /net/ipv4/sysctl_net_ipv4.c | |
parent | bd239704295c66196e6b77c5717ec4aec076ddd5 (diff) | |
download | linux-790f00e19f65673c3c169dfc137c09a9236847d5.tar.bz2 |
tcp: Namespace-ify sysctl_tcp_autocorking
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 | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/net/ipv4/sysctl_net_ipv4.c b/net/ipv4/sysctl_net_ipv4.c index 029692d2e4ae..43a18a317053 100644 --- a/net/ipv4/sysctl_net_ipv4.c +++ b/net/ipv4/sysctl_net_ipv4.c @@ -511,15 +511,6 @@ static struct ctl_table ipv4_table[] = { .extra2 = &thousand, }, { - .procname = "tcp_autocorking", - .data = &sysctl_tcp_autocorking, - .maxlen = sizeof(int), - .mode = 0644, - .proc_handler = proc_dointvec_minmax, - .extra1 = &zero, - .extra2 = &one, - }, - { .procname = "tcp_invalid_ratelimit", .data = &sysctl_tcp_invalid_ratelimit, .maxlen = sizeof(int), @@ -1145,6 +1136,15 @@ static struct ctl_table ipv4_net_table[] = { .mode = 0644, .proc_handler = proc_dointvec }, + { + .procname = "tcp_autocorking", + .data = &init_net.ipv4.sysctl_tcp_autocorking, + .maxlen = sizeof(int), + .mode = 0644, + .proc_handler = proc_dointvec_minmax, + .extra1 = &zero, + .extra2 = &one, + }, { } }; |