aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/bug.c
diff options
context:
space:
mode:
authorHaoxiang Li <[email protected]>2025-03-07 09:49:52 +0000
committerPaolo Abeni <[email protected]>2025-03-11 14:23:28 +0000
commitd2b9d97e89c79c95f8b517e4fa43fd100f936acc (patch)
treee83a9a9a5bd55b483f117c6a162f80aabf8f92f2 /rust/helpers/bug.c
parentrtase: Fix improper release of ring list entries in rtase_sw_reset (diff)
downloadkernel-d2b9d97e89c79c95f8b517e4fa43fd100f936acc.tar.gz
kernel-d2b9d97e89c79c95f8b517e4fa43fd100f936acc.zip
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: 91b7282b613d ("qlcnic: Support VLAN id config.") Cc: [email protected] Signed-off-by: Haoxiang Li <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'rust/helpers/bug.c')
0 files changed, 0 insertions, 0 deletions