]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit - include/linux/bpf_verifier.h
bpf: remove the verifier ops from program structure
authorJakub Kicinski <jakub.kicinski@netronome.com>
Mon, 16 Oct 2017 23:40:54 +0000 (16:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Oct 2017 13:17:10 +0000 (14:17 +0100)
commit00176a34d9e27ab1e77db75fe13abc005cffe0ca
tree5bc104a145c96a042214e6b7f3e860502cc2bd96
parent7de16e3a35578f4f5accc6f5f23970310483d0a2
bpf: remove the verifier ops from program structure

Since the verifier ops don't have to be associated with
the program for its entire lifetime we can move it to
verifier's struct bpf_verifier_env.

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>
include/linux/bpf.h
include/linux/bpf_verifier.h
kernel/bpf/syscall.c
kernel/bpf/verifier.c