diff options
author | 2021-03-02 11:33:23 +0800 | |
---|---|---|
committer | 2021-03-02 15:28:07 -0800 | |
commit | 95b39f07a17faef3a9b225248ba449b976e529c8 (patch) | |
tree | 59b213d1b4fdafa3426ed56e1fcfe12aeab58656 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | stmmac: intel: Fix mdio bus registration issue for TGL-H/ADL-S (diff) | |
download | linux-rng-95b39f07a17faef3a9b225248ba449b976e529c8.tar.xz linux-rng-95b39f07a17faef3a9b225248ba449b976e529c8.zip |
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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions