[<prev] [next>] [day] [month] [year] [list]
Message-ID: <559D11CA.6090006@virtuozzo.com>
Date: Wed, 08 Jul 2015 15:04:26 +0300
From: Vasily Averin <vvs@...tuozzo.com>
To: "David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org
CC: intel-wired-lan@...ts.osuosl.org,
Jeff Kirsher <jeffrey.t.kirsher@...el.com>,
Mitch Williams <mitch.a.williams@...el.com>,
Jesse Brandeburg <jesse.brandeburg@...el.com>,
Neil Hormann <horman@...hat.com>
Subject: [PATCH] rtnl_lock called twice in i40e_pci_error_resume()
Signed-off-by: Vasily Averin <vvs@...tuozzo.com>
---
drivers/net/ethernet/intel/i40e/i40e_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c
index 48a52b3..ef091d4 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_main.c
+++ b/drivers/net/ethernet/intel/i40e/i40e_main.c
@@ -10226,7 +10226,7 @@ static void i40e_pci_error_resume(struct pci_dev *pdev)
rtnl_lock();
i40e_handle_reset_warning(pf);
- rtnl_lock();
+ rtnl_unlock();
}
/**
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists