diff options
author | Vincent Stehlé <[email protected]> | 2020-11-12 09:48:33 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2020-11-12 17:05:15 -0800 |
commit | e8aa6d520b448efc88670a98eccd196713639f2f (patch) | |
tree | 0112b0c2ef4647958a6d1f29dd6b14479357133a /lib/mpi/mpi-cmp.c | |
parent | 1922a46b8c18cb09d33e06a6cc2e43844ac1b9d0 (diff) |
net: ethernet: mtk-star-emac: return ok when xmit drops
The ndo_start_xmit() method must return NETDEV_TX_OK if the DMA mapping
fails, after freeing the socket buffer.
Fix the mtk_star_netdev_start_xmit() function accordingly.
Fixes: 8c7bd5a454ff ("net: ethernet: mtk-star-emac: new driver")
Signed-off-by: Vincent Stehlé <[email protected]>
Acked-by: Bartosz Golaszewski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions