summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2024-12-30 21:12:31 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-01-09 15:32:09 +0300
commitf61e663d78ff9def3eabad63ae2d64a80513cb82 (patch)
tree1e391ce4bef8368af545a2941a08e3a439a9c721 /tools/perf/scripts/python/stackcollapse.py
parent27c843e7644725203e3be7a0260f0d4fac51f906 (diff)
downloadlinux-f61e663d78ff9def3eabad63ae2d64a80513cb82.tar.xz
mptcp: don't always assume copied data in mptcp_cleanup_rbuf()
commit 551844f26da2a9f76c0a698baaffa631d1178645 upstream. Under some corner cases the MPTCP protocol can end-up invoking mptcp_cleanup_rbuf() when no data has been copied, but such helper assumes the opposite condition. Explicitly drop such assumption and performs the costly call only when strictly needed - before releasing the msk socket lock. Fixes: fd8976790a6c ("mptcp: be careful on MPTCP-level ack.") Cc: stable@vger.kernel.org Signed-off-by: Paolo Abeni <pabeni@redhat.com> Reviewed-by: Mat Martineau <martineau@kernel.org> Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Link: https://patch.msgid.link/20241230-net-mptcp-rbuf-fixes-v1-2-8608af434ceb@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions