diff options
author | Namhyung Kim <namhyung@kernel.org> | 2021-03-17 23:54:14 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-30 14:32:01 +0200 |
commit | 86e525bc04f24d503cc6178d19f61b51727e6e91 (patch) | |
tree | dcf5fd1f0068fe4993ba24d7fd5843cb4e9925e8 /tools/lib/bpf/netlink.c | |
parent | 4280132339ce99b6521216d8b8e56b1bb462189e (diff) | |
download | kernel_replicant_linux-86e525bc04f24d503cc6178d19f61b51727e6e91.tar.gz kernel_replicant_linux-86e525bc04f24d503cc6178d19f61b51727e6e91.tar.bz2 kernel_replicant_linux-86e525bc04f24d503cc6178d19f61b51727e6e91.zip |
libbpf: Fix error path in bpf_object__elf_init()
[ Upstream commit 8f3f5792f2940c16ab63c614b26494c8689c9c1e ]
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 <namhyung@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20210317145414.884817-1-namhyung@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/lib/bpf/netlink.c')
0 files changed, 0 insertions, 0 deletions