]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commitcf5d74b85ef40c202c76d90959db4d850f301b95
treec9f027b9870d61b6e3431302ffc22821150fe68a
parent5af48b59f35cf712793badabe1a574a0d0ce3bd3
tcp: fix under-evaluated ssthresh in TCP Vegas

With the commit 76174004a0f19785 (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