diff options
author | 2015-07-15 00:56:52 +0300 | |
---|---|---|
committer | 2015-07-17 00:10:47 -0700 | |
commit | e2370f07cf703c0920c99bc24de3d152262738f0 (patch) | |
tree | 774464cccb5fc59dc5785e83af1f3f3f478d1f7f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth (diff) | |
download | wireguard-linux-e2370f07cf703c0920c99bc24de3d152262738f0.tar.xz wireguard-linux-e2370f07cf703c0920c99bc24de3d152262738f0.zip |
ravb: do not invalidate cache for RX buffer twice
First, dma_sync_single_for_cpu() shouldn't have been called in the first place
(it's a streaming DMA API), dma_unmap_single() should have been called instead.
Second, dma_unmap_single() call after handing the buffer to napi_gro_receive()
makes little sense. Moreover desc->dptr might not be valid at this point.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions