diff options
author | 2024-07-02 01:40:19 +0200 | |
---|---|---|
committer | 2024-07-02 18:31:35 +0200 | |
commit | df34ec9db6f521118895f22795da49f2ec01f8cf (patch) | |
tree | 5d37f1bd78b5e986b4e96a2e210622fa1d919267 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bpftool: Mount bpffs when pinmaps path not under the bpffs (diff) | |
download | wireguard-linux-df34ec9db6f521118895f22795da49f2ec01f8cf.tar.xz wireguard-linux-df34ec9db6f521118895f22795da49f2ec01f8cf.zip |
bpf: Fix atomic probe zero-extension
Zero-extending results of atomic probe operations fails with:
verifier bug. zext_dst is set, but no reg is defined
The problem is that insn_def_regno() handles BPF_ATOMICs, but not
BPF_PROBE_ATOMICs. Fix by adding the missing condition.
Fixes: d503a04f8bc0 ("bpf: Add support for certain atomics in bpf_arena to x86 JIT")
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20240701234304.14336-2-iii@linux.ibm.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions