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

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

In addition, because we are now precisely accounting for
stretch ACKs, including delayed ACKs, we can now change
TCP_SCALABLE_AI_CNT to 100.

Signed-off-by: Pengcheng Yang <yangpc@wangsu.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_scalable.c