]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: remove global variables
authorAlexei Starovoitov <ast@kernel.org>
Fri, 19 Apr 2019 14:44:54 +0000 (07:44 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 22 Apr 2019 23:50:43 +0000 (01:50 +0200)
commit518744c8afdab1b5b8b7c561bd2a7c659bc84920
treeedc5c3c52210178d5a988fdd5e962bdeb1801e76
parentfe19df49a996a28796a3cafb6bc2228106620808
bpf: remove global variables

Move three global variables protected by bpf_verifier_lock into
'struct bpf_verifier_env' to allow parallel verification.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
include/linux/bpf_verifier.h
kernel/bpf/verifier.c