diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-06-14 07:33:04 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-06-18 06:30:53 +0200 |
commit | 35089bb203f44e33b6bbb6c4de0b0708f9a48921 (patch) | |
tree | 3e9ca3dbc12a063121c3ecba2558400307d4acd5 /net/ipv4/sysctl_net_ipv4.c | |
parent | [BNX2]: Update version and reldate (diff) | |
download | linux-35089bb203f44e33b6bbb6c4de0b0708f9a48921.tar.xz linux-35089bb203f44e33b6bbb6c4de0b0708f9a48921.zip |
[TCP]: Add tcp_slow_start_after_idle sysctl.
A lot of people have asked for a way to disable tcp_cwnd_restart(),
and it seems reasonable to add a sysctl to do that.
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 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/net/ipv4/sysctl_net_ipv4.c b/net/ipv4/sysctl_net_ipv4.c index e7fb665873c6..ce4cd5f35511 100644 --- a/net/ipv4/sysctl_net_ipv4.c +++ b/net/ipv4/sysctl_net_ipv4.c @@ -690,6 +690,14 @@ ctl_table ipv4_table[] = { .proc_handler = &proc_dointvec }, #endif + { + .ctl_name = NET_TCP_SLOW_START_AFTER_IDLE, + .procname = "tcp_slow_start_after_idle", + .data = &sysctl_tcp_slow_start_after_idle, + .maxlen = sizeof(int), + .mode = 0644, + .proc_handler = &proc_dointvec + }, { .ctl_name = 0 } }; |