aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorHeng Qi <[email protected]>2024-05-30 11:41:43 +0800
committerJakub Kicinski <[email protected]>2024-06-01 15:09:56 -0700
commit30636258a7c9174be44ddb2318bae4f66d4beab0 (patch)
treec6964b3e271e41aa3ad30ac3492c4e5a112254ee /tools/perf/scripts/python/export-to-sqlite.py
parentd8ec19857b095b39d114ae299713bd8ea6c1e66a (diff)
virtio_net: fix missing lock protection on control_buf access
Refactored the handling of control_buf to be within the cvq_lock critical section, mitigating race conditions between reading device responses and new command submissions. Fixes: 6f45ab3e0409 ("virtio_net: Add a lock for the command VQ.") Signed-off-by: Heng Qi <[email protected]> Reviewed-by: Hariprasad Kelam <[email protected]> Acked-by: Jason Wang <[email protected]> Reviewed-by: Xuan Zhuo <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions