summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2024-11-08 13:58:17 +0300
committerJakub Kicinski <kuba@kernel.org>2024-11-12 06:06:34 +0300
commitce7356ae35943cc6494cc692e62d51a734062b7d (patch)
treef7408edcd3a86c30f596825043f2bbe52f07f770 /tools/perf/scripts/python/exported-sql-viewer.py
parent581302298524e9d77c4c44ff5156a6cd112227ae (diff)
downloadlinux-ce7356ae35943cc6494cc692e62d51a734062b7d.tar.xz
mptcp: cope racing subflow creation in mptcp_rcv_space_adjust
Additional active subflows - i.e. created by the in kernel path manager - are included into the subflow list before starting the 3whs. A racing recvmsg() spooling data received on an already established subflow would unconditionally call tcp_cleanup_rbuf() on all the current subflows, potentially hitting a divide by zero error on the newly created ones. Explicitly check that the subflow is in a suitable state before invoking tcp_cleanup_rbuf(). Fixes: c76c6956566f ("mptcp: call tcp_cleanup_rbuf on subflows") Signed-off-by: Paolo Abeni <pabeni@redhat.com> Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Link: https://patch.msgid.link/02374660836e1b52afc91966b7535c8c5f7bafb0.1731060874.git.pabeni@redhat.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions