[Devel] [PATCH RHEL7 COMMIT] ms/net/drivers: missing rtnl_unlock in i40evf_resume()

Konstantin Khorenko khorenko at virtuozzo.com
Fri Jul 17 13:19:26 PDT 2015


The commit is pushed to "branch-rh7-3.10.0-123.1.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-123.1.2.vz7.5.25
------>
commit ac05d983e5d316c45499686c91cdd75c23ff3a2f
Author: Vasily Averin <vvs at virtuozzo.com>
Date:   Sat Jul 18 00:19:26 2015 +0400

    ms/net/drivers: missing rtnl_unlock in i40evf_resume()
    
    Signed-off-by: Vasily Averin <vvs at virtuozzo.com>
---
 drivers/net/ethernet/intel/i40evf/i40evf_main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ethernet/intel/i40evf/i40evf_main.c b/drivers/net/ethernet/intel/i40evf/i40evf_main.c
index 06bf8253..3f55d92 100644
--- a/drivers/net/ethernet/intel/i40evf/i40evf_main.c
+++ b/drivers/net/ethernet/intel/i40evf/i40evf_main.c
@@ -2237,6 +2237,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;
 	}



More information about the Devel mailing list