aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_ipv4.c
diff options
context:
space:
mode:
authorYuchung Cheng <ycheng@google.com>2017-01-13 01:11:39 -0500
committerDavid S. Miller <davem@davemloft.net>2017-01-13 22:37:16 -0500
commitbec41a11dd3dc8c54f766b4f494140ca92ba7c10 (patch)
tree62a888654cc55636c2ab85adf331db2361aae118 /net/ipv4/tcp_ipv4.c
parent840a3cbe89694fad75578856976f180e852e69aa (diff)
tcp: remove early retransmit
This patch removes the support of RFC5827 early retransmit (i.e., fast recovery on small inflight with <3 dupacks) because it is subsumed by the new RACK loss detection. More specifically when RACK receives DUPACKs, it'll arm a reordering timer to start fast recovery after a quarter of (min)RTT, hence it covers the early retransmit except RACK does not limit itself to specific inflight or dupack numbers. Signed-off-by: Yuchung Cheng <ycheng@google.com> Signed-off-by: Neal Cardwell <ncardwell@google.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r--net/ipv4/tcp_ipv4.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c
index ebf3e0c4967a..63214136cf1c 100644
--- a/net/ipv4/tcp_ipv4.c
+++ b/net/ipv4/tcp_ipv4.c
@@ -2229,7 +2229,6 @@ static void get_tcp4_sock(struct sock *sk, struct seq_file *f, int i)
2229 int state; 2229 int state;
2230 2230
2231 if (icsk->icsk_pending == ICSK_TIME_RETRANS || 2231 if (icsk->icsk_pending == ICSK_TIME_RETRANS ||
2232 icsk->icsk_pending == ICSK_TIME_EARLY_RETRANS ||
2233 icsk->icsk_pending == ICSK_TIME_REO_TIMEOUT || 2232 icsk->icsk_pending == ICSK_TIME_REO_TIMEOUT ||
2234 icsk->icsk_pending == ICSK_TIME_LOSS_PROBE) { 2233 icsk->icsk_pending == ICSK_TIME_LOSS_PROBE) {
2235 timer_active = 1; 2234 timer_active = 1;