aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorHou Tao <[email protected]>2023-02-15 08:21:32 +0000
committerAlexei Starovoitov <[email protected]>2023-02-15 23:40:06 +0000
commitf88da2d46cc9a19b0c233285339659cae36c5d9a (patch)
treec36bec94b00c337da6266687758715ec9eaa0f92 /tools/bpf/bpftool/prog.c
parentbpf: Zeroing allocated object from slab in bpf memory allocator (diff)
downloadkernel-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