summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorIlya Leoshkevich <iii@linux.ibm.com>2026-02-17 19:10:06 +0300
committerAlexei Starovoitov <ast@kernel.org>2026-02-24 21:47:33 +0300
commite4094d56c5592dd90aa619f9480265b0689ed3d9 (patch)
tree38e305b96f68ce1ea1435e53e3d546c75e389719 /tools
parent3733f4be287029dad963534da3d91ac806df233d (diff)
downloadlinux-e4094d56c5592dd90aa619f9480265b0689ed3d9.tar.xz
s390/bpf: Do not increment tailcall count when prog is NULL
Currently tail calling a non-existent prog results in tailcall count increment. This is what the interpreter is doing, but this is clearly wrong, so replace load-and-increment and compare-and-jump with load and compare-and-jump, conditionally followed by increment and store. Reported-by: Hari Bathini <hbathini@linux.ibm.com> Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> Link: https://lore.kernel.org/r/20260217161058.101346-1-iii@linux.ibm.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions