summaryrefslogtreecommitdiff
path: root/drivers/net/qla3xxx.c
diff options
context:
space:
mode:
authorRon Mercer <ron.mercer@qlogic.com>2007-10-01 22:43:22 +0400
committerJeff Garzik <jeff@garzik.org>2007-10-02 20:55:10 +0400
commitb323e0e49fe9331ee3a7a336af879d6e303b16b3 (patch)
treea8fa846b0636e7fd4ad106eeb9be2f53bca544a1 /drivers/net/qla3xxx.c
parent3146b39c185f8a436d430132457e84fa1d8f8208 (diff)
downloadlinux-b323e0e49fe9331ee3a7a336af879d6e303b16b3.tar.xz
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>
Diffstat (limited to 'drivers/net/qla3xxx.c')
-rwxr-xr-xdrivers/net/qla3xxx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/qla3xxx.c b/drivers/net/qla3xxx.c
index 69da95b5ad0c..c3fe1c7c301c 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: