bpf: Remove arch_unprotect_bpf_trampoline()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Sat, 16 Mar 2024 07:35:40 +0000 (08:35 +0100)
committerMartin KaFai Lau <martin.lau@kernel.org>
Mon, 18 Mar 2024 21:18:47 +0000 (14:18 -0700)
commite3362acd796789dc0562eb1a3937007b0beb0c5b
tree60fdaf720eaf3b7e5b6367504c99d880b92e953e
parent7b30c296af6525571fc967f6a8661f6e1127369e
bpf: Remove arch_unprotect_bpf_trampoline()

Last user of arch_unprotect_bpf_trampoline() was removed by
commit 187e2af05abe ("bpf: struct_ops supports more than one page for
trampolines.")

Remove arch_unprotect_bpf_trampoline()

Reported-by: Daniel Borkmann <daniel@iogearbox.net>
Fixes: 187e2af05abe ("bpf: struct_ops supports more than one page for trampolines.")
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Link: https://lore.kernel.org/r/42c635bb54d3af91db0f9b85d724c7c290069f67.1710574353.git.christophe.leroy@csgroup.eu
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
arch/arm64/net/bpf_jit_comp.c
arch/x86/net/bpf_jit_comp.c
include/linux/bpf.h
kernel/bpf/trampoline.c