bpf: encapsulate verifier log state into a structure
authorJakub Kicinski <jakub.kicinski@netronome.com>
Mon, 9 Oct 2017 17:30:10 +0000 (10:30 -0700)
committerPeter Michael Green <plugwash@raspbian.org>
Wed, 7 Feb 2018 23:32:32 +0000 (23:32 +0000)
commit0531266eacd1e9bddfca9aaa31c764a01e177f06
tree3b96479eb8a92fc271dfaed6497e2209c0108570
parente9f844a383928bdc929ccd34ed099a3482f31568
bpf: encapsulate verifier log state into a structure

Put the loose log_* variables into a structure.  This will make
it simpler to remove the global verifier state in following patches.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name bpf-encapsulate-verifier-log-state-into-a-structure.patch
include/linux/bpf_verifier.h
kernel/bpf/verifier.c