Skip to contentSkip to conversation

rtnl_lock called twice in i40e_pci_error_resume()

PATCH New Vasily Averin 1 participant 1 message Jul 8, 2015

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rtnl_lock called twice in i40e_pci_error_resume()

---
 drivers/net/ethernet/intel/i40e/i40e_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/intel/i40e/i40e_main.c +1 -1
index 48a52b3..ef091d4 100644
@@ -10226,7 +10226,7 @@ static void i40e_pci_error_resume(struct pci_dev *pdev)
 
 	rtnl_lock();
 	i40e_handle_reset_warning(pf);
-	rtnl_lock();
+	rtnl_unlock();
 }
 
 /**
Signature · 1 line
1.9.1