]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: remove stubs for cBPF from arch code
authorDaniel Borkmann <daniel@iogearbox.net>
Thu, 16 Feb 2017 21:24:49 +0000 (22:24 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Feb 2017 18:40:04 +0000 (13:40 -0500)
commitddc22fb331e60bff6275479f9cf7604b8b5aa094
treec92770092ea2f7d4d3fdc207c80b8266547572f6
parentb98fbf3d7b506a63d89c66134e810cbe5fbfc5ef
bpf: remove stubs for cBPF from arch code

Remove the dummy bpf_jit_compile() stubs for eBPF JITs and make
that a single __weak function in the core that can be overridden
similarly to the eBPF one. Also remove stale pr_err() mentions
of bpf_jit_compile.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/arm64/net/bpf_jit_comp.c
arch/powerpc/net/bpf_jit_comp64.c
arch/s390/net/bpf_jit_comp.c
arch/x86/net/bpf_jit_comp.c
include/linux/filter.h
kernel/bpf/core.c