projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9369986
)
[TCP] tcp_vegas: Fix slow start
author
Thomas Young
<tyo@ee.mu.oz.au>
Wed, 4 Jan 2006 21:59:32 +0000
(13:59 -0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 4 Jan 2006 21:59:32 +0000
(13:59 -0800)
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: Thomas Young <tyo@ee.mu.oz.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_vegas.c
patch
|
blob
|
history
diff --git
a/net/ipv4/tcp_vegas.c
b/net/ipv4/tcp_vegas.c
index 13e7e6e8df161ef009250b58c520717dfdf153cc..3b7403495052e31efb9bbaa4c33e740fd99685f2 100644
(file)
--- a/
net/ipv4/tcp_vegas.c
+++ b/
net/ipv4/tcp_vegas.c
@@
-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. */