]> git.karo-electronics.de Git - linux-beck.git/commitdiff
igb: missing rtnl_unlock in igb_sriov_reinit()
authorVasily Averin <vvs@virtuozzo.com>
Tue, 7 Jul 2015 15:53:45 +0000 (18:53 +0300)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 18 Aug 2015 21:06:03 +0000 (14:06 -0700)
Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
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;
        }