2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/net/ethernet/qlogic/qlcnic
Haoxiang Li d2b9d97e89 qlcnic: fix memory leak issues in qlcnic_sriov_common.c
Add qlcnic_sriov_free_vlans() in qlcnic_sriov_alloc_vlans() if
any sriov_vlans fails to be allocated.
Add qlcnic_sriov_free_vlans() to free the memory allocated by
qlcnic_sriov_alloc_vlans() if "sriov->allowed_vlans" fails to
be allocated.

Fixes: 91b7282b61 ("qlcnic: Support VLAN id config.")
Cc: stable@vger.kernel.org
Signed-off-by: Haoxiang Li <haoxiang_li2024@163.com>
Link: https://patch.msgid.link/20250307094952.14874-1-haoxiang_li2024@163.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2025-03-11 15:23:28 +01:00
..
Makefile
qlcnic_83xx_hw.c qlcnic: make read-only const array key static 2024-09-11 16:00:54 -07:00
qlcnic_83xx_hw.h qlcnic: Remove unused declarations 2024-09-03 15:37:22 -07:00
qlcnic_83xx_init.c qlcnic: replace deprecated strncpy with strscpy 2023-12-10 19:08:58 +00:00
qlcnic_83xx_vnic.c
qlcnic_ctx.c qlcnic: check pci_reset_function result 2023-04-12 08:32:38 +01:00
qlcnic_dcb.c
qlcnic_dcb.h qlcnic: prevent ->dcb use-after-free on qlcnic_dcb_enable() failure 2022-12-26 09:01:36 +00:00
qlcnic_ethtool.c net: qlogic: use ethtool string helpers 2024-10-29 16:26:18 -07:00
qlcnic_hdr.h
qlcnic_hw.c net: annotate writes on dev->mtu from ndo_change_mtu() 2024-05-07 16:19:14 -07:00
qlcnic_hw.h
qlcnic_init.c
qlcnic_io.c net: adopt skb_network_offset() and similar helpers 2024-03-04 08:47:06 +00:00
qlcnic_main.c ndo_fdb_del: Add a parameter to report whether notification was sent 2024-11-15 16:39:18 -08:00
qlcnic_minidump.c
qlcnic_sriov_common.c qlcnic: fix memory leak issues in qlcnic_sriov_common.c 2025-03-11 15:23:28 +01:00
qlcnic_sriov_pf.c ethernet: Remove vf rate limit check for drivers 2022-06-10 22:19:32 -07:00
qlcnic_sriov.h qlcnic: Simplify DMA setting 2022-01-09 16:52:18 -08:00
qlcnic_sysfs.c qlcnic: use const 'struct bin_attribute' callbacks 2024-12-20 13:24:50 -08:00
qlcnic.h qlcnic: Remove unused declarations 2024-09-03 15:37:22 -07:00