diff options
| author | Yuchung Cheng <[email protected]> | 2017-11-08 21:01:26 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-11-11 09:53:16 +0000 |
| commit | 713bafea92920103cd3d361657406cf04d0e22dd (patch) | |
| tree | 505a887887bb48dc443388b0078ad176ff6edb5b /net/ipv4/tcp_metrics.c | |
| parent | fsl/fman_port: mark expected switch fall-throughs (diff) | |
| download | kernel-713bafea92920103cd3d361657406cf04d0e22dd.tar.gz kernel-713bafea92920103cd3d361657406cf04d0e22dd.zip | |
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 <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Reviewed-by: Neal Cardwell <[email protected]>
Reviewed-by: Soheil Hassas Yeganeh <[email protected]>
Reviewed-by: Priyaranjan Jha <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_metrics.c')
| -rw-r--r-- | net/ipv4/tcp_metrics.c | 4 |
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) tp->snd_ssthresh = TCP_INFINITE_SSTHRESH; } val = tcp_metric_get(tm, TCP_METRIC_REORDERING); - if (val && tp->reordering != val) { - tcp_disable_fack(tp); + if (val && tp->reordering != val) tp->reordering = val; - } crtt = tcp_metric_get(tm, TCP_METRIC_RTT); rcu_read_unlock(); |
