diff options
author | 2024-04-17 14:44:06 -0700 | |
---|---|---|
committer | 2024-04-18 09:03:21 -0700 | |
commit | 462e5e2a5938d0241ad146d21dd0da1be8e7eaf0 (patch) | |
tree | 1c446c24e177d405d9aa60cb2c16c7ff271593e1 /include/linux/bpf.h | |
parent | libbpf: Fix dump of subsequent char arrays (diff) | |
download | wireguard-linux-462e5e2a5938d0241ad146d21dd0da1be8e7eaf0.tar.xz wireguard-linux-462e5e2a5938d0241ad146d21dd0da1be8e7eaf0.zip |
bpf: Fix JIT of is_mov_percpu_addr instruction.
The codegen for is_mov_percpu_addr instruction works for rax/r8 registers
only. Fix it to generate proper x86 byte code for other registers.
Fixes: 7bdbf7446305 ("bpf: add special internal-only MOV instruction to resolve per-CPU addrs")
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20240417214406.15788-1-alexei.starovoitov@gmail.com
Diffstat (limited to 'include/linux/bpf.h')
0 files changed, 0 insertions, 0 deletions