commit | b80758f39f75046fceae0747e794fa8659bb6692 | [log] [tgz] |
---|---|---|
author | Zhang Changzhong <zhangchangzhong@huawei.com> | Fri Oct 21 09:32:24 2022 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Nov 03 23:49:18 2022 +0900 |
tree | d4e7f22fb7ec588deafa046a805d71f090a28ccd | |
parent | dbc3a0b917c4f75292b1c0819c188e40fd3c8924 [diff] |
net: lantiq_etop: don't free skb when returning NETDEV_TX_BUSY [ Upstream commit 9c1eaa27ec599fcc25ed4970c0b73c247d147a2b ] The ndo_start_xmit() method must not free skb when returning NETDEV_TX_BUSY, since caller is going to requeue freed skb. Fixes: 504d4721ee8e ("MIPS: Lantiq: Add ethernet driver") Signed-off-by: Zhang Changzhong <zhangchangzhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>