diff options
author | Kenneth Klette Jonassen | 2015-05-01 01:10:58 +0200 |
---|---|---|
committer | David S. Miller | 2015-05-03 23:18:01 -0400 |
commit | 31231a8a873026410eab438c5757430546a517d1 (patch) | |
tree | 4855955195a530170508350262fa19d52afafbcc /scripts | |
parent | 196da974758550a3933c8b0244ef98148df10552 (diff) |
tcp: improve RTT from SACK for CC
tcp_sacktag_one() always picks the earliest sequence SACKed for RTT.
This might not make sense for congestion control in cases where:
1. ACKs are lost, i.e. a SACK following a lost SACK covers both
new and old segments at the receiver.
2. The receiver disregards the RFC 5681 recommendation to immediately
ACK out-of-order segments.
Give congestion control a RTT for the latest segment SACKed, which is the
most accurate RTT estimate, but preserve the conservative RTT for RTO.
Removes the call to skb_mstamp_get() in tcp_sacktag_one().
Cc: Yuchung Cheng <ycheng@google.com>
Cc: Eric Dumazet <edumazet@google.com>
Signed-off-by: Kenneth Klette Jonassen <kennetkl@ifi.uio.no>
Acked-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions