]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Fix TCP slow_start_after_idle sysctl
authorDavid Miller <davem@davemloft.net>
Tue, 10 Apr 2007 20:39:35 +0000 (13:39 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 13 Apr 2007 20:47:05 +0000 (13:47 -0700)
commit8b256a36a57638e6693b04bd17d01596a3e19afe
tree159ba35433d099880d801036588ab35b80f69b25
parentfa520f761777759cf1aebfda81ce250fc840719f
Fix TCP slow_start_after_idle sysctl

[TCP]: slow_start_after_idle should influence cwnd validation too

For the cases that slow_start_after_idle are meant to deal
with, it is almost a certainty that the congestion window
tests will think the connection is application limited and
we'll thus decrease the cwnd there too.  This defeats the
whole point of setting slow_start_after_idle to zero.

So test it there too.

We do not cancel out the entire tcp_cwnd_validate() function
so that if the sysctl is changed we still have the validation
state maintained.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/ipv4/tcp_output.c