Commit f2a1c368 authored by Vasily Averin's avatar Vasily Averin Committed by Jeff Kirsher

i40evf: missing rtnl_unlock in i40evf_resume()

Signed-off-by: default avatarVasily Averin <vvs@virtuozzo.com>
Tested-by: default avatarAndrews Bowers <andrewx.bowers@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 4bf1b54f
...@@ -2510,6 +2510,7 @@ static int i40evf_resume(struct pci_dev *pdev) ...@@ -2510,6 +2510,7 @@ static int i40evf_resume(struct pci_dev *pdev)
rtnl_lock(); rtnl_lock();
err = i40evf_set_interrupt_capability(adapter); err = i40evf_set_interrupt_capability(adapter);
if (err) { if (err) {
rtnl_unlock();
dev_err(&pdev->dev, "Cannot enable MSI-X interrupts.\n"); dev_err(&pdev->dev, "Cannot enable MSI-X interrupts.\n");
return err; return err;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment