From: Vasily Averin Date: Wed, 8 Jul 2015 12:04:26 +0000 (+0300) Subject: i40e: rtnl_lock called twice in i40e_pci_error_resume() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4c4935a964e29da61390122f0a5c9f36e8ae081d;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git i40e: rtnl_lock called twice in i40e_pci_error_resume() Signed-off-by: Vasily Averin Tested-by: Andrew Bowers Signed-off-by: Jeff Kirsher --- diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c index 52e58f304b21..613da5143f7f 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_main.c +++ b/drivers/net/ethernet/intel/i40e/i40e_main.c @@ -10537,7 +10537,7 @@ static void i40e_pci_error_resume(struct pci_dev *pdev) rtnl_lock(); i40e_handle_reset_warning(pf); - rtnl_lock(); + rtnl_unlock(); } /**