diff options
author | Eric Dumazet <edumazet@google.com> | 2018-05-18 00:47:25 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-18 18:40:27 +0300 |
commit | a3893637e1eb0ef5eb1bbc52b3a8d2dfa317a35d (patch) | |
tree | 8ed1ee3a02530b01ae555672faaef9a09adfffd5 /net/ipv4/tcp_input.c | |
parent | cf0dd203728c20e76976b69cdf42d065c1e5cab3 (diff) | |
download | linux-a3893637e1eb0ef5eb1bbc52b3a8d2dfa317a35d.tar.xz |
tcp: do not force quickack when receiving out-of-order packets
As explained in commit 9f9843a751d0 ("tcp: properly handle stretch
acks in slow start"), TCP stacks have to consider how many packets
are acknowledged in one single ACK, because of GRO, but also
because of ACK compression or losses.
We plan to add SACK compression in the following patch, we
must therefore not call tcp_enter_quickack_mode()
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_input.c')
-rw-r--r-- | net/ipv4/tcp_input.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index 0bf032839548..f5622b250665 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c @@ -4715,8 +4715,6 @@ drop: if (!before(TCP_SKB_CB(skb)->seq, tp->rcv_nxt + tcp_receive_window(tp))) goto out_of_window; - tcp_enter_quickack_mode(sk); - if (before(TCP_SKB_CB(skb)->seq, tp->rcv_nxt)) { /* Partial packet, seq < rcv_next < end_seq */ SOCK_DEBUG(sk, "partial packet: rcv_next %X seq %X - %X\n", |