Revert "igb: Fix a deadlock in igb_sriov_reinit"
This reverts commit3eb14ea8d9
("igb: Fix a deadlock in igb_sriov_reinit") It is the same as commitf468adc944
("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>
This commit is contained in:
parent
5bd0c0202a
commit
d99e366fc9
@ -7579,7 +7579,6 @@ static int igb_resume(struct device *dev)
|
|||||||
|
|
||||||
if (igb_init_interrupt_scheme(adapter, true)) {
|
if (igb_init_interrupt_scheme(adapter, true)) {
|
||||||
dev_err(&pdev->dev, "Unable to allocate memory for queues\n");
|
dev_err(&pdev->dev, "Unable to allocate memory for queues\n");
|
||||||
rtnl_unlock();
|
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user