[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150915.145520.1652469541141080343.davem@davemloft.net>
Date: Tue, 15 Sep 2015 14:55:20 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: simon.guinot@...uanux.org
Cc: oren@...eous.io, jason@...edaemon.net, andrew@...n.ch,
gregory.clement@...e-electrons.com,
sebastian.hesselbarth@...il.com,
thomas.petazzoni@...e-electrons.com, vdonnefort@...il.com,
yoann@...lo.fr, mxs@...k.org, linux-arm-kernel@...ts.infradead.org,
netdev@...r.kernel.org, stable@...r.kernel.org
Subject: Re: [PATCH] net: mvneta: fix DMA buffer unmapping in mvneta_rx()
From: Simon Guinot <simon.guinot@...uanux.org>
Date: Tue, 15 Sep 2015 22:41:21 +0200
> This patch fixes a regression introduced by the commit a84e32894191
> ("net: mvneta: fix refilling for Rx DMA buffers"). Due to this commit
> the newly allocated Rx buffers are DMA-unmapped in place of those passed
> to the networking stack. Obviously, this causes data corruptions.
>
> This patch fixes the issue by ensuring that the right Rx buffers are
> DMA-unmapped.
>
> Reported-by: Oren Laskin <oren@...eous.io>
> Signed-off-by: Simon Guinot <simon.guinot@...uanux.org>
> Fixes: a84e32894191 ("net: mvneta: fix refilling for Rx DMA buffers")
Applied, thanks.
--
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