summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2022-01-21 03:35:27 +0300
committerJakub Kicinski <kuba@kernel.org>2022-01-21 07:24:01 +0300
commit8e9eacad7ec7a9cbf262649ebf1fa6e6f6cc7d82 (patch)
tree913b1e25fa9640456d738fe957b7fe205cd6f542 /tools/perf/scripts/python/export-to-postgresql.py
parent6f97fde8694d5242ace94a58bc8522a70b5f77cc (diff)
downloadlinux-8e9eacad7ec7a9cbf262649ebf1fa6e6f6cc7d82.tar.xz
mptcp: fix msk traversal in mptcp_nl_cmd_set_flags()
The MPTCP endpoint list is under RCU protection, guarded by the pernet spinlock. mptcp_nl_cmd_set_flags() traverses the list without acquiring the spin-lock nor under the RCU critical section. This change addresses the issue performing the lookup and the endpoint update under the pernet spinlock. Fixes: 0f9f696a502e ("mptcp: add set_flags command in PM netlink") Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions