Skip to content
Commit 2c795ce0 authored by Yonghong Song's avatar Yonghong Song Committed by Greg Kroah-Hartman
Browse files

bpf: Support new 32bit offset jmp instruction



[ Upstream commit 4cd58e9a ]

Add interpreter/jit/verifier support for 32bit offset jmp instruction.
If a conditional jmp instruction needs more than 16bit offset,
it can be simulated with a conditional jmp + a 32bit jmp insn.

Acked-by: default avatarEduard Zingerman <eddyz87@gmail.com>
Signed-off-by: default avatarYonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20230728011231.3716103-1-yonghong.song@linux.dev


Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
Stable-dep-of: 3feb263b ("bpf: handle ldimm64 properly in check_cfg()")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent b1c780ed
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment