]> 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)
commit6e5aff22ab1a1c0995e58a91a9faa18aeeb5131a
treec52167a536ba9d17dff5c4762b881bfaafd49899
parent29840d49285e467e13e69d896f9c5a60874176fd
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