selftests/bpf: Fix the u64_offset_to_skb_data test
authorMaxim Mikityanskiy <maxim@isovalent.com>
Mon, 8 Jan 2024 20:51:55 +0000 (22:51 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 23 Jan 2024 22:40:22 +0000 (14:40 -0800)
commit242d18514149d86b431b6f5db5a33579ea79ebad
treef672979d6f27e721f583bcf165f14dbc70512249
parentf067074bafd5060428211ee7bb8a3f86ff6bc58d
selftests/bpf: Fix the u64_offset_to_skb_data test

The u64_offset_to_skb_data test is supposed to make a 64-bit fill, but
instead makes a 16-bit one. Fix the test according to its intention and
update the comments accordingly (umax is no longer 0xffff). The 16-bit
fill is covered by u16_offset_to_skb_data.

Signed-off-by: Maxim Mikityanskiy <maxim@isovalent.com>
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20240108205209.838365-2-maxtram95@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/progs/verifier_spill_fill.c