• David S. Miller's avatar
    [TCP]: slow_start_after_idle should influence cwnd validation too · 15d33c07
    David S. Miller authored
    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: default avatarDavid S. Miller <davem@davemloft.net>
    15d33c07
tcp_output.c 72 KB