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(-)
--
2.52.0