Skip to content

Commit

Permalink
Revert "igb: Fix a deadlock in igb_sriov_reinit"
Browse files Browse the repository at this point in the history
This reverts commit 3eb14ea ("igb: Fix a deadlock in
igb_sriov_reinit")
It is the same as commit f468adc ("igb: missing rtnl_unlock in
igb_sriov_reinit()")
There is no rtnl_lock() in igb_resume before, rtnl_unlock will cause a
deadlock.

Signed-off-by: Arika Chen <arika.chen@huawei.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
  • Loading branch information
Arika Chen authored and Jeff Kirsher committed Apr 7, 2016
1 parent 5bd0c02 commit d99e366
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/ethernet/intel/igb/igb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -7579,7 +7579,6 @@ static int igb_resume(struct device *dev)

if (igb_init_interrupt_scheme(adapter, true)) {
dev_err(&pdev->dev, "Unable to allocate memory for queues\n");
rtnl_unlock();
return -ENOMEM;
}

Expand Down

0 comments on commit d99e366

Please sign in to comment.