diff options
| author | Hou Tao <[email protected]> | 2023-02-15 08:21:32 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2023-02-15 23:40:06 +0000 |
| commit | f88da2d46cc9a19b0c233285339659cae36c5d9a (patch) | |
| tree | c36bec94b00c337da6266687758715ec9eaa0f92 /tools/bpf/bpftool/prog.c | |
| parent | bpf: Zeroing allocated object from slab in bpf memory allocator (diff) | |
| download | kernel-f88da2d46cc9a19b0c233285339659cae36c5d9a.tar.gz kernel-f88da2d46cc9a19b0c233285339659cae36c5d9a.zip | |
selftests/bpf: Add test case for element reuse in htab map
The reinitialization of spin-lock in map value after immediate reuse may
corrupt lookup with BPF_F_LOCK flag and result in hard lock-up, so add
one test case to demonstrate the problem.
Signed-off-by: Hou Tao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions
