-
- Downloads
bpf: split verifier and program ops
struct bpf_verifier_ops contains both verifier ops and operations used later during program's lifetime (test_run). Split the runtime ops into a different structure. BPF_PROG_TYPE() will now append ## _prog_ops or ## _verifier_ops to the names. Signed-off-by:Jakub Kicinski <jakub.kicinski@netronome.com> Acked-by:
Daniel Borkmann <daniel@iogearbox.net> Acked-by:
Alexei Starovoitov <ast@kernel.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/linux/bpf.h 10 additions, 5 deletionsinclude/linux/bpf.h
- include/linux/bpf_types.h 14 additions, 14 deletionsinclude/linux/bpf_types.h
- kernel/bpf/syscall.c 13 additions, 3 deletionskernel/bpf/syscall.c
- kernel/bpf/verifier.c 6 additions, 6 deletionskernel/bpf/verifier.c
- kernel/trace/bpf_trace.c 12 additions, 3 deletionskernel/trace/bpf_trace.c
- net/core/filter.c 36 additions, 9 deletionsnet/core/filter.c
Loading
Please register or sign in to comment