]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: tcp_vegas ssthresh bug fix
authorDoug Leith <doug.leith@nuim.ie>
Fri, 5 Dec 2008 01:17:18 +0000 (17:17 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Dec 2008 01:17:18 +0000 (17:17 -0800)
commitfeb7e7b446b04cdcd839b69334b07ba33b8fed02
treedd2a3be62a935df9c8f8d0a0845ddd310d774f6c
parentf7b46be62f958481fdbbf3f7360db0ceb30a15f2
tcp: tcp_vegas ssthresh bug fix

This patch fixes a bug in tcp_vegas.c.  At the moment this code leaves
ssthresh untouched.  However, this means that the vegas congestion
control algorithm is effectively unable to reduce cwnd below the
ssthresh value (if the vegas update lowers the cwnd below ssthresh,
then slow start is activated to raise it back up).  One example where
this matters is when during slow start cwnd overshoots the link
capacity and a flow then exits slow start with ssthresh set to a value
above where congestion avoidance would like to adjust it.

Signed-off-by: Doug Leith <doug.leith@nuim.ie>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_vegas.c