aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_metrics.c
diff options
context:
space:
mode:
authorYuchung Cheng <ycheng@google.com>2017-11-08 16:01:26 -0500
committerDavid S. Miller <davem@davemloft.net>2017-11-11 04:53:16 -0500
commit713bafea92920103cd3d361657406cf04d0e22dd (patch)
tree505a887887bb48dc443388b0078ad176ff6edb5b /net/ipv4/tcp_metrics.c
parente4ec1384132ead18e972f1180e958aa0b69abd11 (diff)
tcp: retire FACK loss detection
FACK loss detection has been disabled by default and the successor RACK subsumed FACK and can handle reordering better. This patch removes FACK to simplify TCP loss recovery. Signed-off-by: Yuchung Cheng <ycheng@google.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Neal Cardwell <ncardwell@google.com> Reviewed-by: Soheil Hassas Yeganeh <soheil@google.com> Reviewed-by: Priyaranjan Jha <priyarjha@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_metrics.c')
-rw-r--r--net/ipv4/tcp_metrics.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/ipv4/tcp_metrics.c b/net/ipv4/tcp_metrics.c
index 9d5ddebfd831..7097f92d16e5 100644
--- a/net/ipv4/tcp_metrics.c
+++ b/net/ipv4/tcp_metrics.c
@@ -470,10 +470,8 @@ void tcp_init_metrics(struct sock *sk)
470 tp->snd_ssthresh = TCP_INFINITE_SSTHRESH; 470 tp->snd_ssthresh = TCP_INFINITE_SSTHRESH;
471 } 471 }
472 val = tcp_metric_get(tm, TCP_METRIC_REORDERING); 472 val = tcp_metric_get(tm, TCP_METRIC_REORDERING);
473 if (val && tp->reordering != val) { 473 if (val && tp->reordering != val)
474 tcp_disable_fack(tp);
475 tp->reordering = val; 474 tp->reordering = val;
476 }
477 475
478 crtt = tcp_metric_get(tm, TCP_METRIC_RTT); 476 crtt = tcp_metric_get(tm, TCP_METRIC_RTT);
479 rcu_read_unlock(); 477 rcu_read_unlock();