提交 8e8247ab 编写于 作者: D Don Skidmore 提交者: 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: NDon Skidmore <donald.c.skidmore@intel.com>
Tested-by: NAndrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部