[Intel-wired-lan] [PATCH iwl-net v2 0/2] iavf: fix two memory leaks
[email protected] Wed, 15 Jul 2026 16:25:46 +0800
| Newsgroups | org.osuosl.intel-wired-lan,org.kernel.vger.netdev |
|---|---|
| Message-ID | <[email protected]> |
From: Xuanqiang Luo <[email protected]> This series fixes two memory leaks found by inspection in iavf. Release the ASQ command buffer when initialization fails and the QoS capabilities buffer when the device is removed. --- Changes: v2: Patch1: - Move the ASQ command buffer cleanup into iavf_free_adminq_asq() to pair it with iavf_alloc_adminq_asq_ring(). (Suggested by Jedrzej.) v1: https://lore.kernel.org/all/[email protected]/ Xuanqiang Luo (2): iavf: fix ASQ command buffer leak on init failure iavf: fix QoS capabilities memory leak drivers/net/ethernet/intel/iavf/iavf_adminq.c | 1 + drivers/net/ethernet/intel/iavf/iavf_main.c | 1 + 2 files changed, 2 insertions(+) base-commit: 58717b2a1365d06c8c64b72aa948541b53fe31eb -- 2.43.0