]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
bpf: Make find_linfo widely available
authorKumar Kartikeya Dwivedi <memxor@gmail.com>
Wed, 8 Apr 2026 02:13:54 +0000 (04:13 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 9 Apr 2026 01:09:56 +0000 (18:09 -0700)
commit4f64d5b66418b7f5967b7f7614d6107bb1fba705
tree73d7684cee8f222e1074bf01bb703b3deb857bf3
parentfbb98834a9221de850a3b1afd78a25473685f9b5
bpf: Make find_linfo widely available

Move find_linfo() as bpf_find_linfo() into core.c to allow for its use
in the verifier in subsequent patches.

Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Acked-by: Mykyta Yatsenko <yatsenko@meta.com>
Link: https://lore.kernel.org/r/20260408021359.3786905-4-memxor@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
include/linux/bpf.h
kernel/bpf/core.c
kernel/bpf/log.c