diff options
author | Vincent Stehlé <[email protected]> | 2020-12-14 23:09:52 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2020-12-16 15:01:07 -0800 |
commit | 7eb000bdbe7c7da811ef51942b356f6e819b13ba (patch) | |
tree | a373e32e923f6090611550a34852467b6dc4be9c /lib/test_overflow.c | |
parent | 995433b795cec0a4ef6c8603e7642903c621943a (diff) |
net: korina: fix return value
The ndo_start_xmit() method must not attempt to free the skb to transmit
when returning NETDEV_TX_BUSY. Therefore, make sure the
korina_send_packet() function returns NETDEV_TX_OK when it frees a packet.
Fixes: ef11291bcd5f ("Add support the Korina (IDT RC32434) Ethernet MAC")
Suggested-by: Jakub Kicinski <[email protected]>
Signed-off-by: Vincent Stehlé <[email protected]>
Acked-by: Florian Fainelli <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions