summaryrefslogtreecommitdiffstats
path: root/net/ipv4/sysctl_net_ipv4.c
diff options
context:
space:
mode:
authorJohn Heffner <jheffner@psc.edu>2007-03-26 04:21:45 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 07:23:19 +0200
commit886236c1247ab5e2ad9c73f6e9a652e3ae3c8b07 (patch)
treef0ab2d6f6b6c98c6042be100db752c2d492669ae /net/ipv4/sysctl_net_ipv4.c
parent[TCP] YeAH-TCP: algorithm implementation (diff)
downloadlinux-886236c1247ab5e2ad9c73f6e9a652e3ae3c8b07.tar.xz
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.c8
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 }
};