aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-add.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2020-07-28 21:09:13 -0700
committerDaniel Borkmann <[email protected]>2020-07-30 01:30:26 +0200
commit0ba58348414eb10249480635545758b40b3c33b6 (patch)
treecb6f2183d57cb567b728fb8583efa0009089196b /lib/mpi/mpi-add.c
parent1d4e1eab456e1ee92a94987499b211db05f900ea (diff)
selftests/bpf: Extend map-in-map selftest to detect memory leaks
Add test validating that all inner maps are released properly after skeleton is destroyed. To ensure determinism, trigger kernel-side synchronize_rcu() before checking map existence by their IDs. Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Song Liu <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions