summaryrefslogtreecommitdiff
path: root/drivers/net/hippi
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2015-07-15 00:56:52 +0300
committerDavid S. Miller <davem@davemloft.net>2015-07-17 00:10:47 -0700
commite2370f07cf703c0920c99bc24de3d152262738f0 (patch)
tree774464cccb5fc59dc5785e83af1f3f3f478d1f7f /drivers/net/hippi
parent15afb10df4a3f1bd781373ffd968e70cc4b21a42 (diff)
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 'drivers/net/hippi')
0 files changed, 0 insertions, 0 deletions