i40evf: missing rtnl_unlock in i40evf_resume()
authorVasily Averin <vvs@virtuozzo.com>
Tue, 7 Jul 2015 15:53:38 +0000 (18:53 +0300)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 30 Sep 2015 12:09:22 +0000 (05:09 -0700)
Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Tested-by: Andrews Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf_main.c

index 5fc820412fca608897dd16863450daa90bebc150..49fa71c691281d133fc7d8e9dd33a72caa960934 100644 (file)
@@ -2510,6 +2510,7 @@ static int i40evf_resume(struct pci_dev *pdev)
        rtnl_lock();
        err = i40evf_set_interrupt_capability(adapter);
        if (err) {
+               rtnl_unlock();
                dev_err(&pdev->dev, "Cannot enable MSI-X interrupts.\n");
                return err;
        }