Skip to content

ixgbe: fix issues around ixgbe_recovery_probe()

Kohei Enju intel-wired-lan netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesIn review
  2. v11 patch 4 repliesSuperseded

Changes in v2 from the cover letter

- 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/[email protected]/

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ixgbe: fix memory leaks in the ixgbe_recovery_probe() pathdrivers/net/ethernet/intel/ixgbe/ixgbe_main.c+8 -122 replies
2/2ixgbe: don't initialize aci lock in ixgbe_recovery_probe()drivers/net/ethernet/intel/ixgbe/ixgbe_main.c+2 -42 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH iwl-net v2 0/2] ixgbe: fix issues around ixgbe_recovery_probe()

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/[email protected]/

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(-)
Signature · 1 line
2.52.0