Skip to content
Commit 7eb000bd authored by Vincent Stehlé's avatar Vincent Stehlé Committed by Jakub Kicinski
Browse files

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: ef11291b

 ("Add support the Korina (IDT RC32434) Ethernet MAC")
Suggested-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarVincent Stehlé <vincent.stehle@laposte.net>
Acked-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20201214220952.19935-1-vincent.stehle@laposte.net


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 995433b7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment