aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2023-11-14 17:23:40 +0000
committerDavid S. Miller <[email protected]>2023-11-16 23:35:12 +0000
commit14dd92d0a1174d3fe052bf87a3ae3a6914946170 (patch)
treedf28967b40c2688150b1c62217e4569d5d4c9cd8 /tools/perf/scripts/python
parentc6e9dba3be5ef3b701b29b143609561915e5d0e9 (diff)
tcp: use tp->total_rto to track number of linear timeouts in SYN_SENT state
In commit ccce324dabfe ("tcp: make the first N SYN RTO backoffs linear") David used icsk->icsk_backoff field to track the number of linear timeouts. Since then, tp->total_rto has been added. This commit uses tp->total_rto instead of icsk->icsk_backoff so that tcp_ld_RTO_revert() no longer can trigger an overflow in inet_csk_rto_backoff(). Other than the potential UBSAN report, there was no issue because receiving an ICMP message currently aborts the connect(). In the following patch, we want to adhere to RFC 6069 and RFC 1122 4.2.3.9. Signed-off-by: Eric Dumazet <[email protected]> Cc: David Morley <[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')
0 files changed, 0 insertions, 0 deletions