]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: fix under-evaluated ssthresh in TCP Vegas
authorHoang Tran <tranviethoang.vn@gmail.com>
Wed, 27 Sep 2017 16:30:58 +0000 (18:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Sep 2017 05:07:00 +0000 (06:07 +0100)
commit6af5af5afab9838ff8a0af91021dbc1794b52f10
treec9f027b9870d61b6e3431302ffc22821150fe68a
parentf4ac1d785ea7fa4b2b87b914b28d88db4dfcc437
tcp: fix under-evaluated ssthresh in TCP Vegas

With the commit d3d3272de62e0207 (tcp: do not slow start when cwnd equals
ssthresh), the comparison to the reduced cwnd in tcp_vegas_ssthresh() would
under-evaluate the ssthresh.

Signed-off-by: Hoang Tran <hoang.tran@uclouvain.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_vegas.c