diff options
author | Eric Dumazet <[email protected]> | 2021-03-11 12:35:05 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-03-11 18:35:31 -0800 |
commit | a7abf3cd76e1e190a2c22afe5ffd0f695c7641b0 (patch) | |
tree | 2b70863783d21ad6b50503bf27ca2e5a54555b8b /tools/perf/scripts/python/stackcollapse.py | |
parent | f4dae54e486d528d4dd98df116e7a522bbf12667 (diff) |
tcp: consider using standard rtx logic in tcp_rcv_fastopen_synack()
Jakub reported Data included in a Fastopen SYN that had to be
retransmit would have to wait for an RTO if TX completions are slow,
even with prior fix.
This is because tcp_rcv_fastopen_synack() does not use standard
rtx logic, meaning TSQ handler exits early in tcp_tsq_write()
because tp->lost_out == tp->retrans_out
Lets make tcp_rcv_fastopen_synack() use standard rtx logic,
by using tcp_mark_skb_lost() on the skb thats needs to be
sent again.
Not this raised a warning in tcp_fastretrans_alert() during my tests
since we consider the data not being aknowledged
by the receiver does not mean packet was lost on the network.
Signed-off-by: Eric Dumazet <[email protected]>
Reported-by: Jakub Kicinski <[email protected]>
Cc: Neal Cardwell <[email protected]>
Cc: Yuchung Cheng <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions