diff options
| author | Thomas Gleixner <tglx@linutronix.de> | 2025-08-04 22:22:09 +0200 |
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2025-08-05 21:55:28 +0200 |
| commit | 54473e0ef849f44e5ee43e6d6746c27030c3825b (patch) | |
| tree | f03c6194cc4a47a9da57d0cd364ad6b09bbeeb19 /tools/docs/lib/parse_data_structs.py | |
| parent | Merge tag 'i2c-for-6.17-rc1-part2' of git://git.kernel.org/pub/scm/linux/kern... (diff) | |
| download | linux-54473e0ef849f44e5ee43e6d6746c27030c3825b.tar.gz linux-54473e0ef849f44e5ee43e6d6746c27030c3825b.zip | |
perf/core: Preserve AUX buffer allocation failure result
A recent overhaul sets the return value to 0 unconditionally after the
allocations, which causes reference count leaks and corrupts the user->vm
accounting.
Preserve the AUX buffer allocation failure return value, so that the
subsequent code works correctly.
Fixes: 0983593f32c4 ("perf/core: Lift event->mmap_mutex in perf_mmap()")
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/docs/lib/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions
