Commit 8e8247ab authored by Don Skidmore's avatar Don Skidmore Committed by Jeff Kirsher

ixgbevf: Add lock around ixgbevf_reinit_locked call

The function ixgbevf_reinit_locked() assumes you have the rtnl lock
however we didn't when calling from the service task.  This patch
corrects that.
Signed-off-by: default avatarDon Skidmore <donald.c.skidmore@intel.com>
Tested-by: default avatarAndrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent abf76d76
......@@ -2779,7 +2779,9 @@ static void ixgbevf_reset_subtask(struct ixgbevf_adapter *adapter)
adapter->tx_timeout_count++;
rtnl_lock();
ixgbevf_reinit_locked(adapter);
rtnl_unlock();
}
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment