diff options
| author | Andrii Nakryiko <andrii@kernel.org> | 2022-09-21 19:42:51 +0300 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2022-09-22 05:41:37 +0300 |
| commit | f338ac9105679df504c3809784f0716c25e87b31 (patch) | |
| tree | 8b380947ef35f5d8d8c5e7cc64189214c7f12463 /scripts/gdb/linux/modules.py | |
| parent | 2d863b14fbd9795c627074b4f344141ef3621b81 (diff) | |
| download | linux-f338ac9105679df504c3809784f0716c25e87b31.tar.xz | |
selftests/bpf: fix double bpf_object__close() in veristate
bpf_object__close(obj) is called twice for BPF object files with single
BPF program in it. This causes crash. Fix this by not calling
bpf_object__close() unnecessarily.
Fixes: c8bc5e050976 ("selftests/bpf: Add veristat tool for mass-verifying BPF object files")
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20220921164254.3630690-2-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions
