diff options
author | 2021-02-25 15:43:17 -0800 | |
---|---|---|
committer | 2021-02-26 11:51:48 -0800 | |
commit | c540957a4d1d13934e93e53ce3056ac4108ffc29 (patch) | |
tree | 2a85e2ef94158ca0b3042c6644d937df4eefef87 /include/linux/bpf_types.h | |
parent | selftests/bpf: Add non-BPF_LSM test for task local storage (diff) | |
download | wireguard-linux-c540957a4d1d13934e93e53ce3056ac4108ffc29.tar.xz wireguard-linux-c540957a4d1d13934e93e53ce3056ac4108ffc29.zip |
selftests/bpf: Test deadlock from recursive bpf_task_storage_[get|delete]
Add a test with recursive bpf_task_storage_[get|delete] from fentry
programs on bpf_local_storage_lookup and bpf_local_storage_update. Without
proper deadlock prevent mechanism, this test would cause deadlock.
Signed-off-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20210225234319.336131-5-songliubraving@fb.com
Diffstat (limited to 'include/linux/bpf_types.h')
0 files changed, 0 insertions, 0 deletions