summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2026-08-07 15:49:05 +0200
committerJakub Kicinski <kuba@kernel.org>2026-08-11 18:35:37 -0700
commitb1224c4b40f6dfc10fa5654e8f0b690b83bb2905 (patch)
tree01e8bfc6d47a3f9822985bddff24086a75b7d2c5 /tools/perf/scripts/python/bin/stackcollapse-record
parente0e4d56b050597a690b4dd1c281af532469b0636 (diff)
mptcp: enforce hard limit on backlog flushing
Currently a wild producer could keep the backlog flushing operation spinning for an unbound time. Since the previous patch, the amount of data present in the backlog is hard-limited. Move the backlog len update at the end of the flush loop to prevent it spinning forever. Also, no need to splice back the remaining skbs list into the backlog, as such list is always empty after each backlog processing loop. Signed-off-by: Paolo Abeni <pabeni@redhat.com> Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Link: https://patch.msgid.link/20260807-net-next-mptcp-oooq-pruning-v3-5-dbc1eb853cc3@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions