Repository navigation
Commit aab2b4b
tcp: fix double-counted receiver RTT when leaving receiver fast path
We should not update ts_recent and call tcp_rcv_rtt_measure_ts() both
before and after going to step5. That wastes CPU and double-counts the
receiver-side RTT sample.
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent d2123be commit aab2b4b
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5485 | 5485 | | |
5486 | 5486 | | |
5487 | 5487 | | |
| 5488 | + | |
| 5489 | + | |
| 5490 | + | |
5488 | 5491 | | |
5489 | 5492 | | |
5490 | 5493 | | |
| |||
5496 | 5499 | | |
5497 | 5500 | | |
5498 | 5501 | | |
5499 | | - | |
5500 | | - | |
5501 | | - | |
5502 | 5502 | | |
5503 | 5503 | | |
5504 | 5504 | | |
| |||
0 commit comments