diff options
author | 2020-06-01 19:28:14 +0300 | |
---|---|---|
committer | 2020-06-01 14:48:33 -0700 | |
commit | bb2359f4dbe98e8863b4e885fc09269ef4682ec3 (patch) | |
tree | 0a444c6c75337492ed4b11c448e283af7856f026 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'fix-ktls-with-sk_skb_verdict' (diff) | |
download | wireguard-linux-bb2359f4dbe98e8863b4e885fc09269ef4682ec3.tar.xz wireguard-linux-bb2359f4dbe98e8863b4e885fc09269ef4682ec3.zip |
bpf: Change kvfree to kfree in generic_map_lookup_batch()
buf_prevkey in generic_map_lookup_batch() is allocated with
kmalloc(). It's safe to free it with kfree().
Fixes: cb4d03ab499d ("bpf: Add generic support for lookup batch op")
Signed-off-by: Denis Efremov <efremov@linux.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20200601162814.17426-1-efremov@linux.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions