diff options
author | 2020-11-12 09:48:33 +0100 | |
---|---|---|
committer | 2020-11-12 17:05:15 -0800 | |
commit | e8aa6d520b448efc88670a98eccd196713639f2f (patch) | |
tree | 0112b0c2ef4647958a6d1f29dd6b14479357133a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net/ncsi: Fix netlink registration (diff) | |
download | wireguard-linux-e8aa6d520b448efc88670a98eccd196713639f2f.tar.xz wireguard-linux-e8aa6d520b448efc88670a98eccd196713639f2f.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions