Files
linux/tools/testing/selftests/bpf/prog_tests
Toke Høiland-Jørgensen ab86d0bf01 selftests/bpf: Update xdp_context_test_run test to check maximum metadata size
Update the selftest to check that the metadata size check takes the
xdp_frame size into account in bpf_prog_test_run. The original
check (for meta size 256) was broken because the data frame supplied was
smaller than this, triggering a different EINVAL return. So supply a
larger data frame for this test to make sure we actually exercise the
check we think we are.

Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
Reviewed-by: Amery Hung <ameryhung@gmail.com>
Link: https://lore.kernel.org/r/20260105114747.1358750-2-toke@redhat.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2026-01-06 11:41:41 -08:00
..
2024-09-11 09:58:31 -07:00
2023-11-01 22:31:41 -07:00
2023-03-08 11:15:39 -08:00
2025-10-29 11:07:24 -07:00
2022-11-20 15:45:48 -08:00
2025-10-10 11:12:51 -07:00