mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
bpf: libbpf: Fix bpf_program__next() API
This patch restores the behavior in commiteac7d84519("tools: libbpf: don't return '.text' as a program for multi-function programs") such that bpf_program__next() does not return pseudo programs in ".text". Fixes:0c19a9fbc9("libbpf: cleanup after partial failure in bpf_object__pin") Signed-off-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
This commit is contained in:
parent
5c86d2125b
commit
a83d6e76a6
1 changed files with 11 additions and 14 deletions
Loading…
Add table
Add a link
Reference in a new issue