From: Xiaoliang (David) Wei Date: Tue, 30 Oct 2007 03:24:36 +0000 (-0700) Subject: [TCP] vegas: Fix a bug in disabling slow start by gamma parameter. X-Git-Tag: v2.6.24-rc2~79^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c940587bf603b4295a7f5e9ff8fed123368a1ef7;p=pandora-kernel.git [TCP] vegas: Fix a bug in disabling slow start by gamma parameter. TCP Vegas implementation has a bug in the process of disabling slow-start with gamma parameter. The bug may lead to extreme unfairness in the presence of early packet loss. See details in: http://www.cs.caltech.edu/~weixl/technical/ns2linux/known_linux/index.html#vegas Switch the order of "if (tp->snd_cwnd <= tp->snd_ssthresh)" statement and "if (diff > gamma)" statement to eliminate the problem. Signed-off-by: Xiaoliang (David) Wei Signed-off-by: David S. Miller --- Reading git-diff-tree failed