]> Git Repo - linux.git/commitdiff
igb: missing rtnl_unlock in igb_sriov_reinit()
authorVasily Averin <[email protected]>
Tue, 7 Jul 2015 15:53:45 +0000 (18:53 +0300)
committerJeff Kirsher <[email protected]>
Tue, 18 Aug 2015 21:06:03 +0000 (14:06 -0700)
Signed-off-by: Vasily Averin <[email protected]>
Tested-by: Aaron Brown <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
drivers/net/ethernet/intel/igb/igb_main.c

index 7b97e847929060935ccd402f76e76177d69e6903..0069c328d7ad3e62dc59806a0316537f91728fba 100644 (file)
@@ -7506,6 +7506,7 @@ static int igb_sriov_reinit(struct pci_dev *dev)
        igb_init_queue_configuration(adapter);
 
        if (igb_init_interrupt_scheme(adapter, true)) {
+               rtnl_unlock();
                dev_err(&pdev->dev, "Unable to allocate memory for queues\n");
                return -ENOMEM;
        }
This page took 0.071582 seconds and 4 git commands to generate.