summaryrefslogtreecommitdiff
path: root/include/net/aligned_data.h
diff options
context:
space:
mode:
authorIlya Leoshkevich <iii@linux.ibm.com>2025-10-17 11:19:06 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-10-19 16:34:05 +0200
commit9d04727414b7bc16a0da8a2dee8c4bc437a3a734 (patch)
tree10dcf4e24e9ffd9dec26d45dd6054097944a8b36 /include/net/aligned_data.h
parent67228efec545035005ec15a6260faf0bbb851a37 (diff)
s390/bpf: Write back tail call counter for BPF_PSEUDO_CALL
commit c861a6b147137d10b5ff88a2c492ba376cd1b8b0 upstream. The tailcall_bpf2bpf_hierarchy_1 test hangs on s390. Its call graph is as follows: entry() subprog_tail() bpf_tail_call_static(0) -> entry + tail_call_start subprog_tail() bpf_tail_call_static(0) -> entry + tail_call_start entry() copies its tail call counter to the subprog_tail()'s frame, which then increments it. However, the incremented result is discarded, leading to an astronomically large number of tail calls. Fix by writing the incremented counter back to the entry()'s frame. Fixes: dd691e847d28 ("s390/bpf: Implement bpf_jit_supports_subprog_tailcalls()") Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20250813121016.163375-3-iii@linux.ibm.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions