All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-wired-lan] [PATCH iwl-net v2 0/2] ixgbe: fix issues around ixgbe_recovery_probe()
@ 2025-12-11  9:15 ` Kohei Enju
  0 siblings, 0 replies; 14+ messages in thread
From: Kohei Enju @ 2025-12-11  9:15 UTC (permalink / raw)
  To: intel-wired-lan, netdev
  Cc: Tony Nguyen, Przemek Kitszel, Andrew Lunn, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Jedrzej Jagielski,
	Stefan Wegrzyn, Simon Horman, Jacob Keller, kohei, Kohei Enju

ixgbe_recovery_probe() and codes around this function have two bugs:
1. resource freeing up is not complete, resulting in memory leaks
2. mutex lock (hw->aci.lock) is initialized twice

Fix these issues.

Changes:
  v2:
    - let ixgbe_probe() to clean up, instead of ixgbe_recovery_probe()
    - don't initialize aci lock twice
  v1: https://lore.kernel.org/intel-wired-lan/20251206155146.95857-1-enjuk@amazon.com/

Kohei Enju (2):
  ixgbe: fix memory leaks in the ixgbe_recovery_probe() path
  ixgbe: don't initialize aci lock in ixgbe_recovery_probe()

 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 26 +++++++------------
 1 file changed, 10 insertions(+), 16 deletions(-)

-- 
2.52.0


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

end of thread, other threads:[~2025-12-11 15:21 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-11  9:15 [Intel-wired-lan] [PATCH iwl-net v2 0/2] ixgbe: fix issues around ixgbe_recovery_probe() Kohei Enju
2025-12-11  9:15 ` Kohei Enju
2025-12-11  9:15 ` [Intel-wired-lan] [PATCH iwl-net v2 1/2] ixgbe: fix memory leaks in the ixgbe_recovery_probe() path Kohei Enju
2025-12-11  9:15   ` Kohei Enju
2025-12-11 10:13   ` [Intel-wired-lan] " Loktionov, Aleksandr
2025-12-11 10:13     ` Loktionov, Aleksandr
2025-12-11 15:03     ` Kohei Enju
2025-12-11 15:03       ` Kohei Enju
2025-12-11  9:15 ` [Intel-wired-lan] [PATCH iwl-net v2 2/2] ixgbe: don't initialize aci lock in ixgbe_recovery_probe() Kohei Enju
2025-12-11  9:15   ` Kohei Enju
2025-12-11 10:12   ` [Intel-wired-lan] " Loktionov, Aleksandr
2025-12-11 10:12     ` Loktionov, Aleksandr
2025-12-11 15:20     ` Kohei Enju
2025-12-11 15:20       ` Kohei Enju

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.