aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/sysdev/fsl_lbc.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2016-03-17 11:57:06 -0700
committerDavid S. Miller <[email protected]>2016-03-18 23:12:44 -0400
commiteee577232203842b4dcadb7ab477a298479633ed (patch)
treedc5bc8b326f427470c2903d2c57ba6203753e441 /arch/powerpc/sysdev/fsl_lbc.c
parent76e39ccf9c36352a8fc7c084ec25b735010685fd (diff)
net: bcmgenet: fix dma api length mismatch
When un-mapping skb->data in __bcmgenet_tx_reclaim(), we must use the length that was used in original dma_map_single(), instead of skb->len that might be bigger (includes the frags) We simply can store skb_len into tx_cb_ptr->dma_len and use it at unmap time. Fixes: 1c1008c793fa ("net: bcmgenet: add main driver file") Signed-off-by: Eric Dumazet <[email protected]> Acked-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'arch/powerpc/sysdev/fsl_lbc.c')
0 files changed, 0 insertions, 0 deletions