summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorSimon Guinot <simon.guinot@sequanux.org>2015-09-15 20:41:21 (GMT)
committerDavid S. Miller <davem@davemloft.net>2015-09-15 21:54:50 (GMT)
commitdaf158d0d544cec80b7b30deff8cfc59a6e17610 (patch)
treeb65d7f9d8dbbecc8b7cdf09b048824390322fe94 /net
parent244b7f4324895e7c796cc94e8a8f70288ed20bdc (diff)
downloadlinux-daf158d0d544cec80b7b30deff8cfc59a6e17610.tar.xz
net: mvneta: fix DMA buffer unmapping in mvneta_rx()
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@igneous.io> Signed-off-by: Simon Guinot <simon.guinot@sequanux.org> Fixes: a84e32894191 ("net: mvneta: fix refilling for Rx DMA buffers") Cc: <stable@vger.kernel.org> # v3.8+ Tested-by: Oren Laskin <oren@igneous.io> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions