summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorShiraz Saleem <shirazsaleem@microsoft.com>2026-03-09 10:24:43 -0700
committerJakub Kicinski <kuba@kernel.org>2026-03-11 20:21:45 -0700
commit87c2302813abc55c46485711a678e3c312b00666 (patch)
tree6e053ef56cbbaa147636ff89b722c5bdb97e5052 /tools/perf/scripts/python/bin/stackcollapse-record
parentead054054874d7de4c1724e18c1adf90fdb5d7db (diff)
downloadlinux-87c2302813abc55c46485711a678e3c312b00666.tar.gz
linux-87c2302813abc55c46485711a678e3c312b00666.zip
net/mana: Null service_wq on setup error to prevent double destroy
In mana_gd_setup() error path, set gc->service_wq to NULL after destroy_workqueue() to match the cleanup in mana_gd_cleanup(). This prevents a use-after-free if the workqueue pointer is checked after a failed setup. Fixes: f975a0955276 ("net: mana: Fix double destroy_workqueue on service rescan PCI path") Signed-off-by: Shiraz Saleem <shirazsaleem@microsoft.com> Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20260309172443.688392-1-kotaranov@linux.microsoft.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions