Message ID | 20220721153625.1282007-4-benjamin.tissoires@redhat.com (mailing list archive) |
---|---|
State | Changes Requested |
Delegated to: | BPF |
Headers | show |
Series | Introduce eBPF support for HID devices | expand |
diff --git a/kernel/bpf/verifier.c b/kernel/bpf/verifier.c index d5fe7e618c52..92714299831c 100644 --- a/kernel/bpf/verifier.c +++ b/kernel/bpf/verifier.c @@ -5282,7 +5282,7 @@ static int check_mem_size_reg(struct bpf_verifier_env *env, * initialize all the memory that the helper could * just partially fill up. */ - meta = NULL; + meta->raw_mode = false; if (reg->smin_value < 0) { verbose(env, "R%d min value is negative, either use unsigned or 'var &= const'\n",