diff options
author | John Heffner <jheffner@psc.edu> | 2007-03-25 19:21:45 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-25 22:23:19 -0700 |
commit | 886236c1247ab5e2ad9c73f6e9a652e3ae3c8b07 (patch) | |
tree | f0ab2d6f6b6c98c6042be100db752c2d492669ae /net/ipv4/sysctl_net_ipv4.c | |
parent | 5ef814753eb810d900fbd77af7c87f6d04f0e551 (diff) | |
download | linux-886236c1247ab5e2ad9c73f6e9a652e3ae3c8b07.tar.gz linux-886236c1247ab5e2ad9c73f6e9a652e3ae3c8b07.tar.bz2 linux-886236c1247ab5e2ad9c73f6e9a652e3ae3c8b07.zip |
[TCP]: Add RFC3742 Limited Slow-Start, controlled by variable sysctl_tcp_max_ssthresh.
Signed-off-by: John Heffner <jheffner@psc.edu>
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 0aa304711a96..d68effe98e8d 100644 --- a/net/ipv4/sysctl_net_ipv4.c +++ b/net/ipv4/sysctl_net_ipv4.c @@ -803,6 +803,14 @@ ctl_table ipv4_table[] = { .proc_handler = &proc_allowed_congestion_control, .strategy = &strategy_allowed_congestion_control, }, + { + .ctl_name = NET_TCP_MAX_SSTHRESH, + .procname = "tcp_max_ssthresh", + .data = &sysctl_tcp_max_ssthresh, + .maxlen = sizeof(int), + .mode = 0644, + .proc_handler = &proc_dointvec, + }, { .ctl_name = 0 } }; |