qla3xxx: bugfix: Add memory barrier before accessing rx completion.
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
3146b39c18
commit
b323e0e49f
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue