diff options
| author | Namhyung Kim <[email protected]> | 2021-03-17 14:54:14 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2021-03-17 23:42:21 +0000 |
| commit | 8f3f5792f2940c16ab63c614b26494c8689c9c1e (patch) | |
| tree | 78d28efc44edc22e80a822603631cb0ff15e2a4d /tools/lib/bpf/netlink.c | |
| parent | bpf: Fix fexit trampoline. (diff) | |
| download | kernel-8f3f5792f2940c16ab63c614b26494c8689c9c1e.tar.gz kernel-8f3f5792f2940c16ab63c614b26494c8689c9c1e.zip | |
libbpf: Fix error path in bpf_object__elf_init()
When it failed to get section names, it should call into
bpf_object__elf_finish() like others.
Fixes: 88a82120282b ("libbpf: Factor out common ELF operations and improve logging")
Signed-off-by: Namhyung Kim <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/netlink.c')
0 files changed, 0 insertions, 0 deletions
