OSDN Git Service

tcp: fix stretch ACK bugs in Veno
authorPengcheng Yang <yangpc@wangsu.com>
Mon, 16 Mar 2020 06:35:10 +0000 (14:35 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Mar 2020 01:26:55 +0000 (18:26 -0700)
commitca04f5d4bb79ef22b708ebb8ab147fc5abb25300
treef7581ecc8d34788c98d3ba1cec730f9599f8dc5e
parentd861b5c7534e12590e731433304d87b453c3613f
tcp: fix stretch ACK bugs in Veno

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

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_veno.c