]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: fix stretch ACK bugs in Yeah
authorPengcheng Yang <yangpc@wangsu.com>
Mon, 16 Mar 2020 06:35:11 +0000 (14:35 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Mar 2020 01:26:55 +0000 (18:26 -0700)
commit50e2827677378842caf2860501cc79d45cdcbe5d
tree249c0f7574af26c2b742b0aafd6123231cc8a9bf
parent0fcc3ae63a93921bde79ba8b8a6a104a8200801f
tcp: fix stretch ACK bugs in Yeah

Change Yeah to properly handle stretch ACKs in additive
increase mode by passing in the count of ACKed packets
to tcp_cong_avoid_ai().

In addition, we re-implemented the scalable path using
tcp_cong_avoid_ai() and removed the pkts_acked variable.

Signed-off-by: Pengcheng Yang <yangpc@wangsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_yeah.c