Unverified Commit c43ad6c0 authored by yonghong-song's avatar yonghong-song Committed by GitHub
Browse files

BPF: Change callx insn encoding (#81546)



Currently, the kernel verifier unsupported callx insn used the 32-bit
imm field to store the target register. On the other hand, gcc used the
dst_reg field to store the target register. The gcc encoding is better.
This patch adjusted the coding to be the same as gcc.

Signed-off-by: default avatarYonghong Song <yonghong.song@linux.dev>
parent 4af24d4a
Supports Markdown
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