summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorZhiling Zou <zhilinz@nebusec.ai>2026-09-12 21:22:43 +0800
committerJakub Kicinski <kuba@kernel.org>2026-09-15 18:00:46 -0700
commit3f118c8217c109fd13ca61caa301d72c483897ef (patch)
tree14b6e2f1319792916760ca4d8d06dbb1a80f6b43 /tools/perf/scripts/python/stackcollapse.py
parentad77dba64dc1a522014b2cd7376a67004140375b (diff)
downloadlinux-3f118c8217c109fd13ca61caa301d72c483897ef.tar.gz
linux-3f118c8217c109fd13ca61caa301d72c483897ef.zip
openvswitch: avoid reallocating confirmed conntrack labels
ovs_ct_get_conn_labels() adds the labels extension when a conntrack entry does not have one. Confirmed conntracks can be read locklessly, so adding an extension may reallocate and free the extension block while another CPU accesses it. Only add the extension for unconfirmed conntracks. A confirmed conntrack without labels now fails the caller's label operation instead of reallocating its extension storage. Fixes: c2ac66735870 ("openvswitch: Allow matching on conntrack label") Cc: stable@vger.kernel.org Reported-by: Vega <vega@nebusec.ai> Signed-off-by: Zhiling Zou <zhilinz@nebusec.ai> Reviewed-by: Ilya Maximets <i.maximets@ovn.org> Reviewed-by: Aaron Conole <aconole@redhat.com> Link: https://patch.msgid.link/372fbb062b40ae6723684f55484be86ff0064f8e.1789218015.git.zhilinz@nebusec.ai Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions