DPDK-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] net/ice: fix memory leaks
@ 2026-10-27 10:51 Anurag Mandal
  2026-10-27 10:51 ` [PATCH 1/7] net/ice: fix DDP package double free on init failure Anurag Mandal
                   ` (7 more replies)
  0 siblings, 8 replies; 17+ messages in thread
From: Anurag Mandal @ 2026-10-27 10:51 UTC (permalink / raw)
  To: dev; +Cc: bruce.richardson, anatoly.burakov, Anurag Mandal

This series fixes memory leaks, and one double free, in the ice PMD.

a. The DDP package copy was freed twice when hardware table
   initialization failed during probe.

b. The switch filter management structures, the DDP package copy and
   any remaining VSI contexts were never freed on port close or
   reset.

c. The DDP filename devarg string leaked on probe failure, and when
   the devarg was given more than once.

d. The main VSI leaked when probe failed after PF setup.

e. MAC and VLAN filter entries could stay allocated when a VSI was
   released.

f. A failed flow director setup leaked the FDIR VSI, hash table, hash
   map and counter pools.

g. The flow segment used to create the ACL profiles leaked on every
   ACL engine init.

Anurag Mandal (7):
  net/ice: fix DDP package double free on init failure
  net/ice: fix memory leaks on port close
  net/ice: fix DDP filename leak
  net/ice: fix main VSI leak on init failure
  net/ice: fix MAC and VLAN filter leak on VSI release
  net/ice: fix FDIR resource leak on setup failure
  net/ice: fix ACL profile segment leak

 drivers/net/intel/ice/ice_acl_filter.c  |  1 +
 drivers/net/intel/ice/ice_ethdev.c      | 33 +++++++++++++++++++++----
 drivers/net/intel/ice/ice_fdir_filter.c | 10 ++++++--
 3 files changed, 37 insertions(+), 7 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2026-10-27 15:28 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-27 10:51 [PATCH 0/7] net/ice: fix memory leaks Anurag Mandal
2026-10-27 10:51 ` [PATCH 1/7] net/ice: fix DDP package double free on init failure Anurag Mandal
2026-10-27 12:39   ` Bruce Richardson
2026-10-27 12:45     ` Bruce Richardson
2026-10-27 10:51 ` [PATCH 2/7] net/ice: fix memory leaks on port close Anurag Mandal
2026-10-27 13:17   ` Bruce Richardson
2026-10-27 10:51 ` [PATCH 3/7] net/ice: fix DDP filename leak Anurag Mandal
2026-10-27 13:52   ` Bruce Richardson
2026-10-27 10:51 ` [PATCH 4/7] net/ice: fix main VSI leak on init failure Anurag Mandal
2026-10-27 14:58   ` Bruce Richardson
2026-10-27 10:51 ` [PATCH 5/7] net/ice: fix MAC and VLAN filter leak on VSI release Anurag Mandal
2026-10-27 15:09   ` Bruce Richardson
2026-10-27 10:51 ` [PATCH 6/7] net/ice: fix FDIR resource leak on setup failure Anurag Mandal
2026-10-27 15:19   ` Bruce Richardson
2026-10-27 10:51 ` [PATCH 7/7] net/ice: fix ACL profile segment leak Anurag Mandal
2026-10-27 15:27   ` Bruce Richardson
2026-10-27 15:28 ` [PATCH 0/7] net/ice: fix memory leaks Bruce Richardson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox