]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit2ee89fb9a942e250b5adb5535de4acca14bb7fa2
treea2a05ae382318bb1a863aa8afee37055409e521c
parentd02d8986a7688d3f0ff6ef61aa6beb41427692eb
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