]> git.baikalelectronics.ru Git - kernel.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)
commitfe573f31dae805e90f278283d5db2462d071ded3
tree4974bbb803358a413832217881ace5d0e9e4c7a6
parentc6866cc74df5b8d6ba026815210723ded79629c1
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