diff options
author | Eelco Chaudron <echaudro@redhat.com> | 2020-05-27 10:42:00 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-06-01 23:38:21 +0200 |
commit | 601b05ca6edb0422bf6ce313fbfd55ec7bbbc0fd (patch) | |
tree | 9f30bade6912c01daf605dae76521b213c80f368 /drivers/spi/spi-ep93xx.c | |
parent | bpf, selftests: Test probe_* helpers from SCHED_CLS (diff) | |
download | linux-601b05ca6edb0422bf6ce313fbfd55ec7bbbc0fd.tar.xz linux-601b05ca6edb0422bf6ce313fbfd55ec7bbbc0fd.zip |
libbpf: Fix perf_buffer__free() API for sparse allocs
In case the cpu_bufs are sparsely allocated they are not all
free'ed. These changes will fix this.
Fixes: fb84b8224655 ("libbpf: add perf buffer API")
Signed-off-by: Eelco Chaudron <echaudro@redhat.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/159056888305.330763.9684536967379110349.stgit@ebuild
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'drivers/spi/spi-ep93xx.c')
0 files changed, 0 insertions, 0 deletions