diff options
author | Vincent Stehlé <vincent.stehle@laposte.net> | 2020-11-12 09:48:33 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-12 17:05:15 -0800 |
commit | e8aa6d520b448efc88670a98eccd196713639f2f (patch) | |
tree | 0112b0c2ef4647958a6d1f29dd6b14479357133a /tools/perf/scripts/python/exported-sql-viewer.py | |
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é <vincent.stehle@laposte.net>
Acked-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Link: https://lore.kernel.org/r/20201112084833.21842-1-vincent.stehle@laposte.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions