diff options
author | Hou Tao <houtao1@huawei.com> | 2023-06-06 06:53:08 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-06-06 23:40:07 +0300 |
commit | aa7881fcfe9d328484265d589bc2785533e33c4d (patch) | |
tree | c70262f64c4805beae493e01bd7ad8e111c264fe /tools/testing/selftests/bpf/bpf_testmod | |
parent | 095641817e1bf6aa2560e025e47575188ee3edaf (diff) | |
download | linux-aa7881fcfe9d328484265d589bc2785533e33c4d.tar.xz |
bpf: Factor out a common helper free_all()
Factor out a common helper free_all() to free all normal elements or
per-cpu elements on a lock-less list.
Signed-off-by: Hou Tao <houtao1@huawei.com>
Link: https://lore.kernel.org/r/20230606035310.4026145-2-houtao@huaweicloud.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/bpf_testmod')
0 files changed, 0 insertions, 0 deletions