aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMat Martineau <[email protected]>2022-05-18 15:04:45 -0700
committerJakub Kicinski <[email protected]>2022-05-19 20:05:07 -0700
commitd9fb797046c596187b97a08ea88b954964cc2d33 (patch)
tree9a5899c760f46b2a47edc093c5e01c07841e4a3e /tools/perf/scripts/python/exported-sql-viewer.py
parentd42f9e4e2384febf9cb2d19ffa0cfac96189517a (diff)
mptcp: Do not traverse the subflow connection list without lock
The MPTCP socket's conn_list (list of subflows) requires the socket lock to access. The MP_FAIL timeout code added such an access, where it would check the list of subflows both in timer context and (later) in workqueue context where the socket lock is held. Rather than check the list twice, remove the check in the timeout handler and only depend on the check in the workqueue. Also remove the MPTCP_FAIL_NO_RESPONSE flag, since mptcp_mp_fail_no_response() has insignificant overhead and can be checked on each worker run. Fixes: 49fa1919d6bc ("mptcp: reset subflow when MP_FAIL doesn't respond") Reported-by: Paolo Abeni <[email protected]> Reviewed-by: Paolo Abeni <[email protected]> Signed-off-by: Mat Martineau <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions