Thread (1 message) 1 message, 1 author, 2009-05-19

Re: [PATCH: 2.6.29] tcp_vegas.c ssthresh bug fix

From: David Miller <davem@davemloft.net>
Date: 2009-05-19 19:22:17

From: Douglas Leith <redacted>
Date: Tue, 19 May 2009 11:16:43 +0100
quoted hunk
--- 2.6.29-rc5/net/ipv4/tcp_vegas.c.orig	2009-04-27 12:55:18.000000000 +0100
+++ 2.6.29-rc5/net/ipv4/tcp_vegas.c	2009-05-19 11:03:41.000000000 +0100
@@ -224 +224 @@ static void tcp_vegas_cong_avoid(struct 
-			if (diff > gamma && tp->snd_ssthresh > 2 ) {
+			if (diff > gamma && tp->snd_cwnd <= tp->snd_ssthresh) {
@@ -228 +227,0 @@ static void tcp_vegas_cong_avoid(struct 
-				tp->snd_ssthresh = 2;
@@ -252,0 +252 @@ static void tcp_vegas_cong_avoid(struct 
+					tp->snd_ssthresh = min(tp->snd_ssthresh, tp->snd_cwnd-1);
This patch is severely corrupted by your email client, or by something
else, and it's therefore not going to apply to anything.

Please read carefully Documentation/email-clients.txt and
Documentation/SubmittingPatches before trying to submit this
again.

Thank you.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help