regno, i, BPF_B, BPF_WRITE, -1); err = check_mem_access(env, insn_idx, meta.regno, i, BPF_B, BPF_WRITE, -1); if (err) return err; } @@ -2993,18 +3004,12 @@ static int do_check(struct bpf_verifier_env *env) /* check that memory (src_reg + off) is readable, *...
> + TAP_LOG(ERR, "Internal error: bpf requested but not > supported"); > + return -1; > +#endif > } else { > + TAP_LOG(ERR, "Internal error: unknown action: %s", > adata->id); > return -1; > } > tap_nlattr_nested_finish(msg); /* nested TCA_ACT_OPTIONS */ > @@ ...
+ TAP_LOG(ERR, "Internal error: bpf requested but not supported"); + return -1; +#endif } else { + TAP_LOG(ERR, "Internal error: unknown action: %s", adata->id); return -1; } tap_nlattr_nested_finish(msg); /* nested TCA_ACT_OPTIONS */ @@ -1104,8 +1106,7 @@ priv_flow...
+ TAP_LOG(ERR, "Internal error: bpf requested but not supported"); + return -1; +#endif } else { + TAP_LOG(ERR, "Internal error: unknown action: %s", adata->id); return -1; } tap_nlattr_nested_finish(msg); /* nested TCA_ACT_OPTIONS */ @@ -1104,8 +1106,7 @@ priv_flow...