[Devel] [PATCH rh7] rtnl_lock is called twice in i40e_pci_error_resume()
Vasily Averin
vvs at virtuozzo.com
Wed Jul 8 05:18:03 PDT 2015
one more rtnl_lock-related bug in mainline
http://patchwork.ozlabs.org/patch/492877/
https://bugzilla.redhat.com/show_bug.cgi?id=1241027
Signed-off-by: Vasily Averin <vvs at virtuozzo.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 a4b9408..aea8708 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_main.c
+++ b/drivers/net/ethernet/intel/i40e/i40e_main.c
@@ -8335,7 +8335,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
More information about the Devel
mailing list