diff options
| author | 2018-06-28 23:34:57 +0200 | |
|---|---|---|
| committer | 2018-06-29 10:47:35 -0700 | |
| commit | 18d405af30bf6506bf2fc49056de7691c949812e (patch) | |
| tree | 0028d4fd98fbeb4a29c9809b1e9a0c434325e18b /lib/string_helpers.c | |
| parent | bpf: Change bpf_fib_lookup to return lookup status (diff) | |
| download | wireguard-linux-18d405af30bf6506bf2fc49056de7691c949812e.tar.xz wireguard-linux-18d405af30bf6506bf2fc49056de7691c949812e.zip | |
bpf, arm32: fix to use bpf_jit_binary_lock_ro api
Any eBPF JIT that where its underlying arch supports ARCH_HAS_SET_MEMORY
would need to use bpf_jit_binary_{un,}lock_ro() pair instead of the
set_memory_{ro,rw}() pair directly as otherwise changes to the former
might break. arm32's eBPF conversion missed to change it, so fix this
up here.
Fixes: 39c13c204bb1 ("arm: eBPF JIT compiler")
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
