diff options
author | Yihao Han <hanyihao@vivo.com> | 2022-03-10 12:28:27 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2022-03-10 18:20:02 +0300 |
commit | 743bec1b78af174f588956ffbdb9bca4348e3eaf (patch) | |
tree | 69c4d5c219b0a343f646f9451b2ea97227545d9b /tools/perf/scripts/python/syscall-counts.py | |
parent | eecbfd976e8617125c69e4b3efc89fe34eac7bb1 (diff) | |
download | linux-743bec1b78af174f588956ffbdb9bca4348e3eaf.tar.xz |
bpf, test_run: Use kvfree() for memory allocated with kvmalloc()
It is allocated with kvmalloc(), the corresponding release function
should not be kfree(), use kvfree() instead.
Generated by: scripts/coccinelle/api/kfree_mismatch.cocci
Fixes: b530e9e1063e ("bpf: Add "live packet" mode for XDP in BPF_PROG_RUN")
Signed-off-by: Yihao Han <hanyihao@vivo.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Cc: Toke Høiland-Jørgensen <toke@redhat.com>
Link: https://lore.kernel.org/bpf/20220310092828.13405-1-hanyihao@vivo.com
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions