summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRon Mercer <ron.mercer@qlogic.com>2007-10-01 11:43:22 -0700
committerJeff Garzik <jeff@garzik.org>2007-10-02 12:55:10 -0400
commitb323e0e49fe9331ee3a7a336af879d6e303b16b3 (patch)
treea8fa846b0636e7fd4ad106eeb9be2f53bca544a1 /drivers
parent3146b39c185f8a436d430132457e84fa1d8f8208 (diff)
downloadop-kernel-dev-b323e0e49fe9331ee3a7a336af879d6e303b16b3.zip
op-kernel-dev-b323e0e49fe9331ee3a7a336af879d6e303b16b3.tar.gz
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')
-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 69da95b..c3fe1c7 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:
OpenPOWER on IntegriCloud