diff options
| author | Alan Maguire <[email protected]> | 2024-06-29 10:00:58 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2024-07-01 15:05:08 +0000 |
| commit | 5b747c23f17d791e08fdf4baa7e14b704625518c (patch) | |
| tree | ab8242d6e3d89a3be472da66390204ad79e4d5f6 /tools/testing/selftests/bpf/prog_tests/tracing_struct.c | |
| parent | selftests/bpf: Add selftest for bpf_xdp_flow_lookup kfunc (diff) | |
| download | kernel-5b747c23f17d791e08fdf4baa7e14b704625518c.tar.gz kernel-5b747c23f17d791e08fdf4baa7e14b704625518c.zip | |
libbpf: Fix error handling in btf__distill_base()
Coverity points out that after calling btf__new_empty_split() the wrong
value is checked for error.
Fixes: 58e185a0dc35 ("libbpf: Add btf__distill_base() creating split BTF with distilled base BTF")
Reported-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alan Maguire <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tracing_struct.c')
0 files changed, 0 insertions, 0 deletions
