netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/3] missing rtnl_unlock in igb_sriov_reinit()
@ 2015-07-07 15:53 Vasily Averin
  2015-08-04 22:41 ` Brown, Aaron F
  0 siblings, 1 reply; 2+ messages in thread
From: Vasily Averin @ 2015-07-07 15:53 UTC (permalink / raw)
  To: David S. Miller, netdev; +Cc: intel-wired-lan, Jeff Kirsher, Todd Fujinaka

Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
---
 drivers/net/ethernet/intel/igb/igb_main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ethernet/intel/igb/igb_main.c b/drivers/net/ethernet/intel/igb/igb_main.c
index 2f70a9b..5881458 100644
--- a/drivers/net/ethernet/intel/igb/igb_main.c
+++ b/drivers/net/ethernet/intel/igb/igb_main.c
@@ -7538,6 +7538,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;
 	}
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* RE: [PATCH 2/3] missing rtnl_unlock in igb_sriov_reinit()
  2015-07-07 15:53 [PATCH 2/3] missing rtnl_unlock in igb_sriov_reinit() Vasily Averin
@ 2015-08-04 22:41 ` Brown, Aaron F
  0 siblings, 0 replies; 2+ messages in thread
From: Brown, Aaron F @ 2015-08-04 22:41 UTC (permalink / raw)
  To: Vasily Averin, David S. Miller, netdev@vger.kernel.org
  Cc: intel-wired-lan@lists.osuosl.org, Kirsher, Jeffrey T,
	Fujinaka, Todd

> From: netdev-owner@vger.kernel.org [mailto:netdev-owner@vger.kernel.org]
> On Behalf Of Vasily Averin
> Sent: Tuesday, July 07, 2015 8:54 AM
> To: David S. Miller; netdev@vger.kernel.org
> Cc: intel-wired-lan@lists.osuosl.org; Kirsher, Jeffrey T; Fujinaka, Todd
> Subject: [PATCH 2/3] missing rtnl_unlock in igb_sriov_reinit()
> 
> Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
> ---
>  drivers/net/ethernet/intel/igb/igb_main.c | 1 +
>  1 file changed, 1 insertion(+)

Tested-by: Aaron Brown <aaron.f.brown@intel.com>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-04 22:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-07 15:53 [PATCH 2/3] missing rtnl_unlock in igb_sriov_reinit() Vasily Averin
2015-08-04 22:41 ` Brown, Aaron F

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).