diff options
author | Andreas Petlund <apetlund@simula.no> | 2010-02-18 07:48:19 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-19 02:43:09 +0300 |
commit | 7e38017557bc0b87434d184f8804cadb102bb903 (patch) | |
tree | 30c4a0793bd28f6731ade58786c06f9cf33115df /net/ipv4/sysctl_net_ipv4.c | |
parent | 36e31b0af58728071e8023cf8e20c5166b700717 (diff) | |
download | linux-7e38017557bc0b87434d184f8804cadb102bb903.tar.xz |
net: TCP thin dupack
This patch enables fast retransmissions after one dupACK for
TCP if the stream is identified as thin. This will reduce
latencies for thin streams that are not able to trigger fast
retransmissions due to high packet interarrival time. This
mechanism is only active if enabled by iocontrol or syscontrol
and the stream is identified as thin.
Signed-off-by: Andreas Petlund <apetlund@simula.no>
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 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net/ipv4/sysctl_net_ipv4.c b/net/ipv4/sysctl_net_ipv4.c index e6a2460587d4..c1bc074f61b7 100644 --- a/net/ipv4/sysctl_net_ipv4.c +++ b/net/ipv4/sysctl_net_ipv4.c @@ -582,6 +582,13 @@ static struct ctl_table ipv4_table[] = { .mode = 0644, .proc_handler = proc_dointvec }, + { + .procname = "tcp_thin_dupack", + .data = &sysctl_tcp_thin_dupack, + .maxlen = sizeof(int), + .mode = 0644, + .proc_handler = proc_dointvec + }, { .procname = "udp_mem", .data = &sysctl_udp_mem, |