linux-yocto/arch/s390/net
Ilya Leoshkevich 0c7b20f778 s390/bpf: Fix bpf_arch_text_poke() with new_addr == NULL again
commit 6a5abf8cf1 upstream.

Commit 7ded842b35 ("s390/bpf: Fix bpf_plt pointer arithmetic") has
accidentally removed the critical piece of commit c730fce7c7
("s390/bpf: Fix bpf_arch_text_poke() with new_addr == NULL"), causing
intermittent kernel panics in e.g. perf's on_switch() prog to reappear.

Restore the fix and add a comment.

Fixes: 7ded842b35 ("s390/bpf: Fix bpf_plt pointer arithmetic")
Cc: stable@vger.kernel.org
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Link: https://lore.kernel.org/r/20250716194524.48109-2-iii@linux.ibm.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-07-24 08:53:14 +02:00
..
bpf_jit_comp.c s390/bpf: Fix bpf_arch_text_poke() with new_addr == NULL again 2025-07-24 08:53:14 +02:00
bpf_jit.h bpf, s390x: remove ld_abs/ld_ind 2018-05-03 16:49:20 -07:00
Makefile Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2018-06-06 18:39:49 -07:00
pnet.c s390/net: convert pnetids to ascii 2019-02-21 10:34:37 -08:00