mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
tcp: do not force quickack when receiving out-of-order packets
[ Upstream commita3893637e1] As explained in commit9f9843a751("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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
6f4a86ce5d
commit
e2f337e2bd
@@ -4649,8 +4649,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",
|
||||
|
||||
Reference in New Issue
Block a user