]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests/bpf: test_xsk: Initialize bitmap before use
authorBastien Curutchet (eBPF Foundation) <bastien.curutchet@bootlin.com>
Fri, 31 Oct 2025 08:04:38 +0000 (09:04 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 31 Oct 2025 16:24:38 +0000 (09:24 -0700)
commit2233ef8bba81e02e8fee6300a81dcf389aa17c58
tree8b94686797c98a6639c89482d8dd6d0a8e0869ef
parent3ab77f35a75eb236956c1e8ba8494ef18a75eae0
selftests/bpf: test_xsk: Initialize bitmap before use

bitmap is used before being initialized.

Initialize it to zero before using it.

Reviewed-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Signed-off-by: Bastien Curutchet (eBPF Foundation) <bastien.curutchet@bootlin.com>
Link: https://lore.kernel.org/r/20251031-xsk-v7-2-39fe486593a3@bootlin.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/test_xsk.c