]> git.ipfire.org Git - thirdparty/linux.git/commit
Revert "bpf: use common instruction history across all states"
authorEduard Zingerman <eddyz87@gmail.com>
Wed, 11 Jun 2025 20:08:26 +0000 (13:08 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 12 Jun 2025 23:52:42 +0000 (16:52 -0700)
commitbaaebe0928bf321a1cd980d569e308dec66be94c
tree4447afa57d727ffbd331158fedc83c4ccb86731c
parent517b088a846b3ce56b3ff07cdf24cd68c89b3a9e
Revert "bpf: use common instruction history across all states"

This reverts commit 96a30e469ca1d2b8cc7811b40911f8614b558241.
Next patches in the series modify propagate_precision() to allow
arbitrary starting state. Precision propagation requires access to
jump history, and arbitrary states represent history not belonging to
`env->cur_state`.

Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20250611200836.4135542-1-eddyz87@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
include/linux/bpf_verifier.h
kernel/bpf/verifier.c