Skip to content

Commit

Permalink
qla3xxx: bugfix: Add memory barrier before accessing rx completion.
Browse files Browse the repository at this point in the history
Signed-off-by: Ron Mercer <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
  • Loading branch information
Ron Mercer authored and Jeff Garzik committed Oct 2, 2007
1 parent 3146b39 commit b323e0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/qla3xxx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b323e0e

Please sign in to comment.