diff options
| author | Kumar Kartikeya Dwivedi <[email protected]> | 2025-02-06 10:54:31 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2025-02-08 02:17:07 +0000 |
| commit | 8784714d7f27045c7cb72456cf66705b73fbc804 (patch) | |
| tree | 2dc69f046f163a4579e036ed4689b34b3bab3a98 /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c | |
| parent | Merge branch 'bpf-some-fixes-for-nullness-elision' (diff) | |
| download | kernel-8784714d7f27045c7cb72456cf66705b73fbc804.tar.gz kernel-8784714d7f27045c7cb72456cf66705b73fbc804.zip | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions
