+2
−2
Loading
The local subprog pointer in create_jt() and visit_abnormal_return_insn() was declared static. It is unconditionally assigned via bpf_find_containing_subprog() before every use. Thus, the static qualifier serves no purpose and rather creates confusion. Just remove it. Fixes: e40f5a6b ("bpf: correct stack liveness for tail calls") Fixes: 493d9e0d ("bpf, x86: add support for indirect jumps") Signed-off-by:Daniel Borkmann <daniel@iogearbox.net> Acked-by:
Anton Protopopov <a.s.protopopov@gmail.com> Link: https://lore.kernel.org/r/20260408191242.526279-3-daniel@iogearbox.net Signed-off-by:
Alexei Starovoitov <ast@kernel.org>