Commit 74cb8798 authored by Thomas Young's avatar Thomas Young Committed by David S. Miller

[TCP] tcp_vegas: Fix slow start

Vegas' slow start was only adding one MSS per RTT rather than one for
every ack. Slow start behavior should now match Reno.
Signed-off-by: default avatarThomas Young <tyo@ee.mu.oz.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 93699863
......@@ -330,6 +330,10 @@ static void tcp_vegas_cong_avoid(struct sock *sk, u32 ack,
vegas->cntRTT = 0;
vegas->minRTT = 0x7fffffff;
}
/* Use normal slow start */
else if (tp->snd_cwnd <= tp->snd_ssthresh)
tcp_slow_start(tp);
}
/* Extract info for Tcp socket info provided via netlink. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment