From: Vasily Averin Date: Tue, 7 Jul 2015 15:53:45 +0000 (+0300) Subject: igb: missing rtnl_unlock in igb_sriov_reinit() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f468adc944ef40f23cacdd898e8cfbb5ba4b75a4;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git igb: missing rtnl_unlock in igb_sriov_reinit() Signed-off-by: Vasily Averin Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher --- diff --git a/drivers/net/ethernet/intel/igb/igb_main.c b/drivers/net/ethernet/intel/igb/igb_main.c index 7b97e8479290..0069c328d7ad 100644 --- a/drivers/net/ethernet/intel/igb/igb_main.c +++ b/drivers/net/ethernet/intel/igb/igb_main.c @@ -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; }