Skip to content

Commit

Permalink
i40e: rtnl_lock called twice in i40e_pci_error_resume()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vasily Averin authored and Jeff Kirsher committed Sep 30, 2015
1 parent f2a1c36 commit 4c4935a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/intel/i40e/i40e_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

/**
Expand Down

0 comments on commit 4c4935a

Please sign in to comment.