Subject: Re: [PATCH net] net: bcmgenet: fix dma api length mismatch

From: Florian Fainelli <[email-masked]>
Date: Thu, 17 Mar 2016 16:16:48 -0700

On 17/03/16 11:57, Eric Dumazet wrote:
> From: Eric Dumazet <[email-masked]>
> 
> 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-masked]>

Acked-by: Florian Fainelli <[email-masked]>

Good catch, thanks!
-- 
Florian