]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
libbpf: Pass number of prog load attempts explicitly
authorAndrii Nakryiko <andrii@kernel.org>
Wed, 3 Nov 2021 22:08:35 +0000 (15:08 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Sun, 7 Nov 2021 16:34:23 +0000 (08:34 -0800)
commit45493cbaf59e3c9482e0e6a2646b362fff45db8b
tree4974bbb803358a413832217881ace5d0e9e4c7a6
parentbe80e9cdbca8ac66d09e0e24e0bd41d992362a0b
libbpf: Pass number of prog load attempts explicitly

Allow to control number of BPF_PROG_LOAD attempts from outside the
sys_bpf_prog_load() helper.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Dave Marchevsky <davemarchevsky@fb.com>
Link: https://lore.kernel.org/bpf/20211103220845.2676888-3-andrii@kernel.org
tools/lib/bpf/bpf.c