s390/bpf: Fix gotol with large offsets
authorIlya Leoshkevich <iii@linux.ibm.com>
Tue, 2 Jan 2024 19:30:35 +0000 (20:30 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 4 Jan 2024 19:35:40 +0000 (11:35 -0800)
commitecba66cb36e3428e9f0c2362b45e213ad43ba8d0
tree27f069acb175e293df7874bfd48b73011ca38a3f
parent98e20e5e13d2811898921f999288be7151a11954
s390/bpf: Fix gotol with large offsets

The gotol implementation uses a wrong data type for the offset: it
should be s32, not s16.

Fixes: c690191e23d8 ("s390/bpf: Implement unconditional jump with 32-bit offset")
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/r/20240102193531.3169422-2-iii@linux.ibm.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
arch/s390/net/bpf_jit_comp.c