Skip to content
Commit 9c1eaa27 authored by Zhang Changzhong's avatar Zhang Changzhong Committed by David S. Miller
Browse files

net: lantiq_etop: don't free skb when returning NETDEV_TX_BUSY



The ndo_start_xmit() method must not free skb when returning
NETDEV_TX_BUSY, since caller is going to requeue freed skb.

Fixes: 504d4721 ("MIPS: Lantiq: Add ethernet driver")
Signed-off-by: default avatarZhang Changzhong <zhangchangzhong@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d266935a
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