]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: cwnd does not increase in TCP YeAH
authorArtem Germanov <agermanov@anchorfree.com>
Wed, 7 Sep 2016 17:49:36 +0000 (10:49 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Sep 2016 00:16:12 +0000 (17:16 -0700)
commit4c6e3542b91d1de82cce19a0e880bae96c4e0d2f
tree398091b1629212ad6600da508dd0b41a1cbe0385
parent89b0d4441926fcafe3589a64d9313ffbdba5de18
tcp: cwnd does not increase in TCP YeAH

Commit d3d3272de62e02079b3d3cf665991ee68cc21af2
(tcp: do not slow start when cwnd equals ssthresh )
introduced regression in TCP YeAH. Using 100ms delay 1% loss virtual
ethernet link kernel 4.2 shows bandwidth ~500KB/s for single TCP
connection and kernel 4.3 and above (including 4.8-rc4) shows bandwidth
~100KB/s.
   That is caused by stalled cwnd when cwnd equals ssthresh. This patch
fixes it by proper increasing cwnd in this case.

Signed-off-by: Artem Germanov <agermanov@anchorfree.com>
Acked-by: Dmitry Adamushko <d.adamushko@anchorfree.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_yeah.c