[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <470277F9.3030204@garzik.org>
Date: Tue, 02 Oct 2007 12:55:21 -0400
From: Jeff Garzik <jeff@...zik.org>
To: Ron Mercer <ron.mercer@...gic.com>
CC: netdev@...r.kernel.org
Subject: Re: [PATCH 1/2] qla3xxx: bugfix: Add memory barrier before accessing
rx completion.
Ron Mercer wrote:
> Signed-off-by: Ron Mercer <ron.mercer@...gic.com>
> ---
> 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 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) {
applied 1-2
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists