diff options
author | Ron Mercer <ron.mercer@qlogic.com> | 2007-10-01 11:43:22 -0700 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-02 12:55:10 -0400 |
commit | b323e0e49fe9331ee3a7a336af879d6e303b16b3 (patch) | |
tree | a8fa846b0636e7fd4ad106eeb9be2f53bca544a1 | |
parent | 3146b39c185f8a436d430132457e84fa1d8f8208 (diff) |
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>
-rwxr-xr-x | drivers/net/qla3xxx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/qla3xxx.c b/drivers/net/qla3xxx.c index 69da95b5ad0..c3fe1c7c301 100755 --- a/drivers/net/qla3xxx.c +++ b/drivers/net/qla3xxx.c @@ -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: |