summaryrefslogtreecommitdiff
path: root/kernel/bpf/arraymap.c
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2024-04-24 13:57:18 -0700
committerAlexei Starovoitov <ast@kernel.org>2024-04-24 14:05:05 -0700
commit82e38a505c9868e784ec31e743fd8a9fa5ca1084 (patch)
tree90df058db0db4dde730a1aff5fb2eb4119db8634 /kernel/bpf/arraymap.c
parent5305b378b351dc5fd55f5f1f37ef362ae0e11d7e (diff)
selftests/bpf: Fix wq test.
The wq test was missing destroy(skel) part which was causing bpf progs to stay loaded. That was causing test_progs to complain with "Failed to unload bpf_testmod.ko from kernel: -11" message, but adding destroy() wasn't enough, since wq callback may be delayed, so loop on unload of bpf_testmod if errno is EAGAIN. Acked-by: Andrii Nakryiko <andrii@kernel.org> Fixes: 8290dba51910 ("selftests/bpf: wq: add bpf_wq_start() checks") Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions