summaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorBiao Huang <biao.huang@mediatek.com>2021-03-02 11:33:23 +0800
committerDavid S. Miller <davem@davemloft.net>2021-03-02 15:28:07 -0800
commit95b39f07a17faef3a9b225248ba449b976e529c8 (patch)
tree59b213d1b4fdafa3426ed56e1fcfe12aeab58656 /Kbuild
parentfa706dce2f2d7012654e2eab40da2b526c1424b3 (diff)
net: ethernet: mtk-star-emac: fix wrong unmap in RX handling
mtk_star_dma_unmap_rx() should unmap the dma_addr of old skb rather than that of new skb. Assign new_dma_addr to desc_data.dma_addr after all handling of old skb ends to avoid unexpected receive side error. Fixes: f96e9641e92b ("net: ethernet: mtk-star-emac: fix error path in RX handling") Signed-off-by: Biao Huang <biao.huang@mediatek.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions