diff options
| author | Simon Guinot <[email protected]> | 2015-09-15 22:41:21 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-09-15 14:54:50 -0700 |
| commit | daf158d0d544cec80b7b30deff8cfc59a6e17610 (patch) | |
| tree | b65d7f9d8dbbecc8b7cdf09b048824390322fe94 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 244b7f4324895e7c796cc94e8a8f70288ed20bdc (diff) | |
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 <[email protected]>
Signed-off-by: Simon Guinot <[email protected]>
Fixes: a84e32894191 ("net: mvneta: fix refilling for Rx DMA buffers")
Cc: <[email protected]> # v3.8+
Tested-by: Oren Laskin <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions