aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRon Mercer <ron.mercer@qlogic.com>2007-10-01 14:43:22 -0400
committerJeff Garzik <jeff@garzik.org>2007-10-02 12:55:10 -0400
commitb323e0e49fe9331ee3a7a336af879d6e303b16b3 (patch)
treea8fa846b0636e7fd4ad106eeb9be2f53bca544a1
parent3146b39c185f8a436d430132457e84fa1d8f8208 (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-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,
2248 qdev->rsp_consumer_index) && (work_done < work_to_do)) { 2248 qdev->rsp_consumer_index) && (work_done < work_to_do)) {
2249 2249
2250 net_rsp = qdev->rsp_current; 2250 net_rsp = qdev->rsp_current;
2251 rmb();
2251 switch (net_rsp->opcode) { 2252 switch (net_rsp->opcode) {
2252 2253
2253 case OPCODE_OB_MAC_IOCB_FN0: 2254 case OPCODE_OB_MAC_IOCB_FN0: