[bpf-next v6 2/5] bpf: Pass bpf_verifier_env to jit

Yeoreum Yun yeoreum.yun at arm.com
Fri Mar 6 22:40:20 PST 2026


Hi,

[...]

> -struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *prog)
> +struct bpf_prog *bpf_int_jit_compile(struct bpf_verifier_env *env, struct bpf_prog *prog)

Does this also work for bpf_prepare_filter()?
For example, ptp_classifier_init() calls it without invoking bpf_check(),
so there is no env available in that context.

[...]

Thanks.

--
Sincerely,
Yeoreum Yun



More information about the linux-arm-kernel mailing list