]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests/bpf: Fix test dynptr/test_dynptr_copy_xdp failure
authorYonghong Song <yonghong.song@linux.dev>
Fri, 25 Jul 2025 04:34:35 +0000 (21:34 -0700)
committerMartin KaFai Lau <martin.lau@kernel.org>
Sat, 26 Jul 2025 01:20:43 +0000 (18:20 -0700)
commit90f791a975af80964b1ae6a370598c5bb8f565a3
tree221265662e288740865dd64040c3a7ab54217117
parent4c82768e413402c329043ed2a30a36bdfc82127b
selftests/bpf: Fix test dynptr/test_dynptr_copy_xdp failure

For arm64 64K page size, the bpf_dynptr_copy() in test dynptr/test_dynptr_copy_xdp
will succeed, but the test will failure with 4K page size. This patch made a change
so the test will fail expectedly for both 4K and 64K page sizes.

Signed-off-by: Yonghong Song <yonghong.song@linux.dev>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Acked-by: Mykyta Yatsenko <yatsenko@meta.com>
Link: https://patch.msgid.link/20250725043435.208974-1-yonghong.song@linux.dev
tools/testing/selftests/bpf/progs/dynptr_success.c