aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYuchung Cheng <[email protected]>2020-09-25 10:04:30 -0700
committerDavid S. Miller <[email protected]>2020-09-25 17:17:14 -0700
commit686989700cabc444f25c1f1eb022aca8f2fc14b2 (patch)
tree582acbcd45b06e696d8fa11d71df13a09add4246 /tools/perf/scripts/python
parentfd2146741c98569c8b4dc41b8ccae597150b122c (diff)
tcp: simplify tcp_mark_skb_lost
This patch consolidates and simplifes the loss marking logic used by a few loss detections (RACK, RFC6675, NewReno). Previously each detection uses a subset of several intertwined subroutines. This unncessary complexity has led to bugs (and fixes of bug fixes). tcp_mark_skb_lost now is the single one routine to mark a packet loss when a loss detection caller deems an skb ist lost: 1. rewind tp->retransmit_hint_skb if skb has lower sequence or all lost ones have been retransmitted. 2. book-keeping: adjust flags and counts depending on if skb was retransmitted or not. Signed-off-by: Yuchung Cheng <[email protected]> Signed-off-by: Neal Cardwell <[email protected]> Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions