diff options
author | 2023-12-27 15:02:27 +0800 | |
---|---|---|
committer | 2024-01-03 16:50:08 -0800 | |
commit | 89f45c30172c80e55c887f32f1af8e184124577b (patch) | |
tree | 94662a959883f10dd4e727c18f0f1447b8435dce /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch '200GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue (diff) | |
download | linux-rng-89f45c30172c80e55c887f32f1af8e184124577b.tar.xz linux-rng-89f45c30172c80e55c887f32f1af8e184124577b.zip |
net/qla3xxx: fix potential memleak in ql_alloc_buffer_queues
When dma_alloc_coherent() fails, we should free qdev->lrg_buf
to prevent potential memleak.
Fixes: 1357bfcf7106 ("qla3xxx: Dynamically size the rx buffer queue based on the MTU.")
Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Link: https://lore.kernel.org/r/20231227070227.10527-1-dinghao.liu@zju.edu.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions