diff options
| author | Toke Høiland-Jørgensen <toke@redhat.com> | 2026-01-05 12:47:46 +0100 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-01-06 11:41:41 -0800 |
| commit | ab86d0bf01f6d0e37fd67761bb62918321b64efc (patch) | |
| tree | 08b896fd5855142e4e593985f63c6f54626dcf04 /include | |
| parent | e558cca217790286e799a8baacd1610bda31b261 (diff) | |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
