linux-stable/drivers/net/ethernet/qlogic
Dinghao Liu 89f45c3017 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: 1357bfcf71 ("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>
2024-01-03 16:50:08 -08:00
..
netxen arch: Remove Itanium (IA-64) architecture 2023-09-11 08:13:17 +00:00
qed qed: Fix a potential use-after-free in qed_cxt_tables_alloc 2023-12-12 13:33:51 -08:00
qede qede: Refactor qede_forced_speed_maps_init() 2023-10-18 09:36:35 +01:00
qlcnic net: vlan: introduce skb_vlan_eth_hdr() 2023-04-23 14:16:44 +01:00
Kconfig ethernet: fix PTP_1588_CLOCK dependencies 2021-08-13 17:49:05 -07:00
Makefile qlge: Move drivers/net/ethernet/qlogic/qlge/ to drivers/staging/qlge/ 2019-07-23 11:29:40 -07:00
qla3xxx.c net/qla3xxx: fix potential memleak in ql_alloc_buffer_queues 2024-01-03 16:50:08 -08:00
qla3xxx.h net/qla3xxx: Convert to SPDX license identifiers 2020-09-16 14:32:31 +02:00