i40e: rtnl_lock called twice in i40e_pci_error_resume()
Signed-off-by: Vasily Averin <vvs@virtuozzo.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
f2a1c3680c
commit
4c4935a964
|
@ -10537,7 +10537,7 @@ static void i40e_pci_error_resume(struct pci_dev *pdev)
|
|||
|
||||
rtnl_lock();
|
||||
i40e_handle_reset_warning(pf);
|
||||
rtnl_lock();
|
||||
rtnl_unlock();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue