]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Use bpf_load_program() from the library
authorMickaël Salaün <mic@digikod.net>
Thu, 9 Feb 2017 23:21:38 +0000 (00:21 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Feb 2017 20:56:06 +0000 (15:56 -0500)
commit01a77af32e24cff8c40fc03c4db537dcc23b2ed9
treea2a05ae382318bb1a863aa8afee37055409e521c
parent602ad847cd5a923f3d8342039d5e749bdb9945b1
bpf: Use bpf_load_program() from the library

Replace bpf_prog_load() with bpf_load_program() calls.

Signed-off-by: Mickaël Salaün <mic@digikod.net>
Cc: Alexei Starovoitov <ast@fb.com>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/lib/bpf/bpf.c
tools/lib/bpf/bpf.h
tools/testing/selftests/bpf/Makefile
tools/testing/selftests/bpf/bpf_sys.h
tools/testing/selftests/bpf/test_tag.c
tools/testing/selftests/bpf/test_verifier.c