diff options
author | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2025-02-06 13:54:31 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2025-02-08 05:17:07 +0300 |
commit | 8784714d7f27045c7cb72456cf66705b73fbc804 (patch) | |
tree | 2dc69f046f163a4579e036ed4689b34b3bab3a98 /tools/perf/scripts/python/syscall-counts.py | |
parent | 310794c219e7b6bd4b21254ac3b871ee989cbece (diff) | |
download | linux-8784714d7f27045c7cb72456cf66705b73fbc804.tar.xz |
bpf: Handle allocation failure in acquire_lock_state
The acquire_lock_state function needs to handle possible NULL values
returned by acquire_reference_state, and return -ENOMEM.
Fixes: 769b0f1c8214 ("bpf: Refactor {acquire,release}_reference_state")
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Link: https://lore.kernel.org/r/20250206105435.2159977-24-memxor@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions