提交 b323e0e4 编写于 作者: R Ron Mercer 提交者: Jeff Garzik

qla3xxx: bugfix: Add memory barrier before accessing rx completion.

Signed-off-by: NRon Mercer <ron.mercer@qlogic.com>
Signed-off-by: NJeff Garzik <jeff@garzik.org>
上级 3146b39c
......@@ -2248,6 +2248,7 @@ static int ql_tx_rx_clean(struct ql3_adapter *qdev,
qdev->rsp_consumer_index) && (work_done < work_to_do)) {
net_rsp = qdev->rsp_current;
rmb();
switch (net_rsp->opcode) {
case OPCODE_OB_MAC_IOCB_FN0:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册