]> 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)
commit129879c8952f7c953f8ba3d532b1b6a875bc1068
treec9f027b9870d61b6e3431302ffc22821150fe68a
parentba2d148c5f90fa7f9f6c9a3ee2b5b067c2f94509
tcp: fix under-evaluated ssthresh in TCP Vegas

With the commit 6784435906c0a3ec (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