diff options
author | Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> | 2007-06-15 15:08:43 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-06-15 15:08:43 -0700 |
commit | b9ce204f0a265f819d10c943a607746abb62f245 (patch) | |
tree | 45078d076bcd952d8820c590653939b312d06ac2 /mm/vmscan.c | |
parent | 22b1a9203ea634ac0ee5240e021613da3328275f (diff) |
[TCP]: Congestion control API RTT sampling fix
Commit 164891aadf1721fca4dce473bb0e0998181537c6 broke RTT
sampling of congestion control modules. Inaccurate timestamps
could be fed to them without providing any way for them to
identify such cases. Previously RTT sampler was called only if
FLAG_RETRANS_DATA_ACKED was not set filtering inaccurate
timestamps nicely. In addition, the new behavior could give an
invalid timestamp (zero) to RTT sampler if only skbs with
TCPCB_RETRANS were ACKed. This solves both problems.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/vmscan.c')
0 files changed, 0 insertions, 0 deletions