All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-wired-lan] [PATCH iwl-net v2 0/2] iavf: fix two memory leaks
@ 2026-07-15  8:25 ` xuanqiang.luo
  0 siblings, 0 replies; 10+ messages in thread
From: xuanqiang.luo @ 2026-07-15  8:25 UTC (permalink / raw)
  To: Tony Nguyen, Przemek Kitszel, Jagielski, Jedrzej, intel-wired-lan
  Cc: Andrew Lunn, Mitch Williams, Greg Rose, Sudheer Mogilappagari,
	netdev, Xuanqiang Luo

From: Xuanqiang Luo <luoxuanqiang@kylinos.cn>

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/20260715061131.34420-1-xuanqiang.luo@linux.dev/

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-07-15  9:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-15  8:25 [Intel-wired-lan] [PATCH iwl-net v2 0/2] iavf: fix two memory leaks xuanqiang.luo
2026-07-15  8:25 ` xuanqiang.luo
2026-07-15  8:25 ` [Intel-wired-lan] [PATCH iwl-net v2 1/2] iavf: fix ASQ command buffer leak on init failure xuanqiang.luo
2026-07-15  8:25   ` xuanqiang.luo
2026-07-15  9:28   ` [Intel-wired-lan] " Jagielski, Jedrzej
2026-07-15  9:28     ` Jagielski, Jedrzej
2026-07-15  9:40     ` luoxuanqiang
2026-07-15  9:40       ` [Intel-wired-lan] " luoxuanqiang
2026-07-15  8:25 ` [Intel-wired-lan] [PATCH iwl-net v2 2/2] iavf: fix QoS capabilities memory leak xuanqiang.luo
2026-07-15  8:25   ` xuanqiang.luo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.