]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/bpf: Test global bpf_list_head arrays.
authorKui-Feng Lee <thinker.li@gmail.com>
Thu, 23 May 2024 17:42:02 +0000 (10:42 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 4 Jun 2024 03:52:43 +0000 (20:52 -0700)
commit43d50ffb1f7e32865cdd343224659614d8b558b9
tree355da146e35dbe12ef5a0e4f7a5fbfd35ecf9cba
parentd55c765a9b2d54b53ef86a62d6209e2e5eb62585
selftests/bpf: Test global bpf_list_head arrays.

Make sure global arrays of bpf_list_heads and fields of bpf_list_heads in
nested struct types work correctly.

Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Signed-off-by: Kui-Feng Lee <thinker.li@gmail.com>
Link: https://lore.kernel.org/r/20240523174202.461236-10-thinker.li@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/prog_tests/linked_list.c
tools/testing/selftests/bpf/progs/linked_list.c