]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bpftool: Stop using deprecated bpf_load_program()
authorAndrii Nakryiko <andrii@kernel.org>
Wed, 3 Nov 2021 22:08:39 +0000 (15:08 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Sun, 7 Nov 2021 16:34:23 +0000 (08:34 -0800)
commita3c7c7e8050fc299b42fa3d89bac253a8dfa5c0c
treecb2e17294db83be84d9c87765571dae2448dee7c
parentbcc40fc0021d4b7c016f8bcf62bd4e21251fdee8
bpftool: Stop using deprecated bpf_load_program()

Switch to bpf_prog_load() instead.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20211103220845.2676888-7-andrii@kernel.org
tools/bpf/bpftool/feature.c