i40e: rtnl_lock called twice in i40e_pci_error_resume()
authorVasily Averin <vvs@virtuozzo.com>
Wed, 8 Jul 2015 12:04:26 +0000 (15:04 +0300)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 30 Sep 2015 12:11:47 +0000 (05:11 -0700)
Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c

index 52e58f304b218f3a0a56aa9a7fd94805e13dd199..613da5143f7fe9edaa1662c4d476467a5ba4837d 100644 (file)
@@ -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();
 }
 
 /**