]> 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)
commite7d995ec742eedfaafdbfb5f819f338224f21acb
tree249c0f7574af26c2b742b0aafd6123231cc8a9bf
parent2a4ee4b7923ecb3e297e1976970367548411875f
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