aboutsummaryrefslogtreecommitdiff
path: root/net/ipv4/ipvs/ip_vs_wrr.c
diff options
context:
space:
mode:
authorXiaoliang (David) Wei <davidwei79@gmail.com>2007-10-29 20:24:36 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-29 22:37:25 -0700
commitc940587bf603b4295a7f5e9ff8fed123368a1ef7 (patch)
treeeb442c1632039667cdad235cdcc29cb5ca2976fc /net/ipv4/ipvs/ip_vs_wrr.c
parent5c81833c2f74304142be6dde5688bf444316da21 (diff)
[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 <davidwei79@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ipvs/ip_vs_wrr.c')
0 files changed, 0 insertions, 0 deletions