diff options
author | 2025-03-07 17:49:52 +0800 | |
---|---|---|
committer | 2025-03-11 15:23:28 +0100 | |
commit | d2b9d97e89c79c95f8b517e4fa43fd100f936acc (patch) | |
tree | e83a9a9a5bd55b483f117c6a162f80aabf8f92f2 /scripts/lib/kdoc/kdoc_parser.py | |
parent | rtase: Fix improper release of ring list entries in rtase_sw_reset (diff) | |
download | linux-rng-d2b9d97e89c79c95f8b517e4fa43fd100f936acc.tar.xz linux-rng-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: 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>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions