]> 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)
commita20521428b5f43e6c7d06dc7f8c2a0df5a1e2697
treef1ba3fe5fede1b2ead7306607cc7240d60ab6be7
parent7aa9c3494e90533b0c2fb533638617f97915cf4f
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