selftests/bpf: Test global bpf_rb_root arrays and fields in nested struct types.
authorKui-Feng Lee <thinker.li@gmail.com>
Thu, 23 May 2024 17:42:01 +0000 (10:42 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 4 Jun 2024 03:52:42 +0000 (20:52 -0700)
commitd55c765a9b2d54b53ef86a62d6209e2e5eb62585
treea5659c1ca934ebb6458f8641f323635b983bbf19
parentc4c6c3b785a0b1426add15d078da61f899abeaac
selftests/bpf: Test global bpf_rb_root arrays and fields in nested struct types.

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

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