Thread (3 messages) 3 messages, 3 authors, 2017-12-13

Re: [PATCH net] tcp: fix potential underestimation on rcv_rtt

flat view

From: Neal Cardwell <ncardwell@google.com>
Date: 2017-12-13 15:04:44

On Tue, Dec 12, 2017 at 7:28 PM, Wei Wang [off-list ref] wrote:
From: Wei Wang <redacted>

When ms timestamp is used, current logic uses 1us in
tcp_rcv_rtt_update() when the real rcv_rtt is within 1 - 999us.
This could cause rcv_rtt underestimation.
Fix it by always using a min value of 1ms if ms timestamp is used.

Fixes: 645f4c6f2ebd ("tcp: switch rcv_rtt_est and rcvq_space to high
resolution timestamps")

Signed-off-by: Wei Wang <redacted>
Signed-off-by: Eric Dumazet <redacted>
---
Acked-by: Neal Cardwell <ncardwell@google.com>

Thanks!

neal
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help