diff options
| author | Alexei Starovoitov <ast@kernel.org> | 2021-12-01 10:10:34 -0800 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2021-12-02 11:18:35 -0800 |
| commit | 19250f5fc0c283892a61f3abf9d65e6325f63897 (patch) | |
| tree | 3a9b52b764e95a54335645429c9942cf1e16db93 /lib/mpi/mpi-mod.c | |
| parent | be05c94476f3cf4fdc29feab4ed1053187323296 (diff) | |
libbpf: Clean gen_loader's attach kind.
The gen_loader has to clear attach_kind otherwise the programs
without attach_btf_id will fail load if they follow programs
with attach_btf_id.
Fixes: 67234743736a ("libbpf: Generate loader program out of BPF ELF file.")
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20211201181040.23337-12-alexei.starovoitov@gmail.com
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions
