]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
bpf: Raise maximum call chain depth to 16 frames
authorAlexei Starovoitov <ast@kernel.org>
Sat, 13 Jun 2026 18:07:55 +0000 (11:07 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Sun, 14 Jun 2026 20:47:38 +0000 (13:47 -0700)
commit2148794eeaf2a898adc791e9472eb80ea55984da
tree5cd3a18452e6bca3122faf213779fbc5ea619a52
parent7bfb93e3475be9de894f1cecd3a727d3e1649b03
bpf: Raise maximum call chain depth to 16 frames

Bump MAX_CALL_FRAMES from 8 to 16 to allow deeper call chains
that Rust-BPF requires and update selftests.

Link: https://lore.kernel.org/r/20260613180755.29671-1-alexei.starovoitov@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
include/linux/bpf_verifier.h
kernel/bpf/verifier.c
tools/testing/selftests/bpf/progs/test_global_func3.c
tools/testing/selftests/bpf/progs/verifier_liveness_exp.c
tools/testing/selftests/bpf/progs/verifier_scalar_ids.c
tools/testing/selftests/bpf/verifier/calls.c