]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: fix stretch ACK bugs in CUBIC
authorNeal Cardwell <ncardwell@google.com>
Thu, 29 Jan 2015 01:01:38 +0000 (20:01 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Jan 2015 06:18:38 +0000 (22:18 -0800)
commitaec4919d2084f7a09e87dfe0c6ed81bdea1c46ef
treed64e5b39bbeecbf80c4a3dc79b9d081d10f71eb8
parentf5f34a16abff64f2157cbdc9d7a9316dd0ec04aa
tcp: fix stretch ACK bugs in CUBIC

Change CUBIC 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 remove the delayed ACK tracking and
estimation code that tracked recent delayed ACK behavior in
ca->delayed_ack.

Reported-by: Eyal Perry <eyalpe@mellanox.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_cubic.c