]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Ensure sleepable program is rejected by hash map iter
authorHou Tao <houtao1@huawei.com>
Wed, 10 Aug 2022 08:05:38 +0000 (16:05 +0800)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 10 Aug 2022 17:12:48 +0000 (10:12 -0700)
commitd8010b2d888e24ebf2d63ef2ce509bce4a0618da
treec52167a536ba9d17dff5c4762b881bfaafd49899
parentf69f1ba9092d40510c3b5cf44ac28d0133d2751f
selftests/bpf: Ensure sleepable program is rejected by hash map iter

Add a test to ensure sleepable program is rejected by hash map iterator.

Signed-off-by: Hou Tao <houtao1@huawei.com>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/r/20220810080538.1845898-10-houtao@huaweicloud.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/prog_tests/bpf_iter.c
tools/testing/selftests/bpf/progs/bpf_iter_bpf_hash_map.c