diff options
author | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2021-10-28 09:35:01 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-18 21:16:43 +0300 |
commit | 4c51fa32f6310ed4eceac753eed20d2e7d7962d4 (patch) | |
tree | 1693d09621f313c87e149e7f393b9ebe4c046b23 /net/sctp | |
parent | 844134cd097c6f3ba0e4d05a2cecfd047022d431 (diff) | |
download | linux-4c51fa32f6310ed4eceac753eed20d2e7d7962d4.tar.xz |
selftests/bpf: Fix memory leak in test_ima
[ Upstream commit efadf2ad17a2d5dc90bda4e6e8b2f96af4c62dae ]
The allocated ring buffer is never freed, do so in the cleanup path.
Fixes: f446b570ac7e ("bpf/selftests: Update the IMA test to use BPF ring buffer")
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20211028063501.2239335-9-memxor@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/sctp')
0 files changed, 0 insertions, 0 deletions