summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorRoman Kisel <romank@linux.microsoft.com>2025-10-09 02:34:16 +0300
committerWei Liu <wei.liu@kernel.org>2025-11-15 09:18:15 +0300
commit510164539f16062e842a9de762616b5008616fa1 (patch)
tree3831e7096ecd87621adcec483bdae827348a9b8e /tools/perf/scripts/python/bin/stackcollapse-record
parent0a4534bdf29a5b7f5a355c267d28dad9c40ba252 (diff)
downloadlinux-510164539f16062e842a9de762616b5008616fa1.tar.xz
Drivers: hv: Free msginfo when the buffer fails to decrypt
The early failure path in __vmbus_establish_gpadl() doesn't deallocate msginfo if the buffer fails to decrypt. Fix the leak by breaking out the cleanup code into a separate function and calling it where required. Fixes: d4dccf353db80 ("Drivers: hv: vmbus: Mark vmbus ring buffer visible to host in Isolation VM") Reported-by: Michael Kelley <mkhlinux@outlook.com> Closes: https://lore.kernel.org/linux-hyperv/SN6PR02MB41573796F9787F67E0E97049D472A@SN6PR02MB4157.namprd02.prod.outlook.com Signed-off-by: Roman Kisel <romank@linux.microsoft.com> Reviewed-by: Michael Kelley <mhklinux@outlook.com> Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions