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:
Ron Mercer 2007-10-01 11:43:22 -07:00 committed by Jeff Garzik
parent 3146b39c18
commit b323e0e49f

View File

@ -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: