diff options
| author | Xiaoliang (David) Wei <[email protected]> | 2007-10-30 03:24:36 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2007-10-30 05:37:25 +0000 |
| commit | c940587bf603b4295a7f5e9ff8fed123368a1ef7 (patch) | |
| tree | eb442c1632039667cdad235cdcc29cb5ca2976fc /net/ipv6/tcp_ipv6.c | |
| parent | [IPVS]: use proper timeout instead of fixed value (diff) | |
| download | kernel-c940587bf603b4295a7f5e9ff8fed123368a1ef7.tar.gz kernel-c940587bf603b4295a7f5e9ff8fed123368a1ef7.zip | |
[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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions
