bpf: move {prev_,}insn_idx into verifier env
[linux-2.6-microblaze.git] / include / linux / bpf_verifier.h
index c233efc..3f84f3e 100644 (file)
@@ -212,6 +212,8 @@ struct bpf_subprog_info {
  * one verifier_env per bpf_check() call
  */
 struct bpf_verifier_env {
+       u32 insn_idx;
+       u32 prev_insn_idx;
        struct bpf_prog *prog;          /* eBPF program being verified */
        const struct bpf_verifier_ops *ops;
        struct bpf_verifier_stack_elem *head; /* stack of verifier states to be processed */