]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
bpf: Move check_cfg() into cfg.c
authorAlexei Starovoitov <ast@kernel.org>
Sun, 12 Apr 2026 15:29:32 +0000 (08:29 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Sun, 12 Apr 2026 19:36:45 +0000 (12:36 -0700)
commitf8a8faceab9953ed074cd4125b31cc6a562237d8
treed33d7e95e82c4fdab42e6aff2fc38d43006815ce
parentfc150cddeea77561fbc94ac8f02cc75b016b09dd
bpf: Move check_cfg() into cfg.c

verifier.c is huge. Move check_cfg(), compute_postorder(),
compute_scc() into cfg.c

Mechanical move. No functional changes.

Acked-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/r/20260412152936.54262-4-alexei.starovoitov@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
include/linux/bpf_verifier.h
kernel/bpf/Makefile
kernel/bpf/cfg.c [new file with mode: 0644]
kernel/bpf/verifier.c