diff options
author | 2017-06-07 10:34:39 -0700 | |
---|---|---|
committer | 2017-06-08 10:53:29 -0400 | |
commit | 5d2ed0521ac98f1ae0243fe52b8ebf95e2abf791 (patch) | |
tree | a339d50c4c0977fa75bc467fafd93ff6a922dec2 /net/ipv4/sysctl_net_ipv4.c | |
parent | tcp: Namespaceify sysctl_tcp_window_scaling (diff) | |
download | linux-5d2ed0521ac98f1ae0243fe52b8ebf95e2abf791.tar.gz linux-5d2ed0521ac98f1ae0243fe52b8ebf95e2abf791.tar.bz2 linux-5d2ed0521ac98f1ae0243fe52b8ebf95e2abf791.zip |
tcp: Namespaceify sysctl_tcp_timestamps
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 c30ac2ba0e14..7065234a89a5 100644 --- a/net/ipv4/sysctl_net_ipv4.c +++ b/net/ipv4/sysctl_net_ipv4.c @@ -365,13 +365,6 @@ static int proc_tfo_blackhole_detect_timeout(struct ctl_table *table, static struct ctl_table ipv4_table[] = { { - .procname = "tcp_timestamps", - .data = &sysctl_tcp_timestamps, - .maxlen = sizeof(int), - .mode = 0644, - .proc_handler = proc_dointvec - }, - { .procname = "tcp_retrans_collapse", .data = &sysctl_tcp_retrans_collapse, .maxlen = sizeof(int), @@ -1116,6 +1109,13 @@ static struct ctl_table ipv4_net_table[] = { .mode = 0644, .proc_handler = proc_dointvec }, + { + .procname = "tcp_timestamps", + .data = &init_net.ipv4.sysctl_tcp_timestamps, + .maxlen = sizeof(int), + .mode = 0644, + .proc_handler = proc_dointvec + }, { } }; |