aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux
diff options
context:
space:
mode:
authorMartin KaFai Lau <martin.lau@kernel.org>2024-07-22 11:30:46 -0700
committerAndrii Nakryiko <andrii@kernel.org>2024-07-29 13:08:56 -0700
commite44b4fc40cb429f6dedc4518a16221115035f654 (patch)
treee39857da835e0e46a1981d288b8786f125510879 /include/linux
parentbpf: Check unsupported ops from the bpf_struct_ops's cfi_stubs (diff)
downloadwireguard-linux-e44b4fc40cb429f6dedc4518a16221115035f654.tar.xz
wireguard-linux-e44b4fc40cb429f6dedc4518a16221115035f654.zip
selftests/bpf: Fix the missing tramp_1 to tramp_40 ops in cfi_stubs
The tramp_1 to tramp_40 ops is not set in the cfi_stubs in the bpf_testmod_ops. It fails the struct_ops_multi_pages test after retiring the unsupported_ops in the earlier patch. This patch initializes them in a loop during the bpf_testmod_init(). Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org> Link: https://lore.kernel.org/r/20240722183049.2254692-3-martin.lau@linux.dev Signed-off-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions