]> 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)
commite9e8ea448d53ccbb651f123f8017f17742daf9df
treeedc5c3c52210178d5a988fdd5e962bdeb1801e76
parentba5b0861c9c224edb63c57d1f4a4799b3e6e58e7
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