igb: missing rtnl_unlock in igb_sriov_reinit()
[deliverable/linux.git] / 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.024185 seconds and 5 git commands to generate.