aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp.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.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.c')
-rw-r--r--net/ipv4/tcp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
index bc71a27d5ad9..337555076043 100644
--- a/net/ipv4/tcp.c
+++ b/net/ipv4/tcp.c
@@ -2509,8 +2509,6 @@ static int tcp_repair_options_est(struct sock *sk,
2509 return -EINVAL; 2509 return -EINVAL;
2510 2510
2511 tp->rx_opt.sack_ok |= TCP_SACK_SEEN; 2511 tp->rx_opt.sack_ok |= TCP_SACK_SEEN;
2512 if (sock_net(sk)->ipv4.sysctl_tcp_fack)
2513 tcp_enable_fack(tp);
2514 break; 2512 break;
2515 case TCPOPT_TIMESTAMP: 2513 case TCPOPT_TIMESTAMP:
2516 if (opt.opt_val != 0) 2514 if (opt.opt_val != 0)