Commit 9a192a1f authored by Esben Haabendal's avatar Esben Haabendal Committed by Lee Jones
Browse files

net: ll_temac: Avoid ndo_start_xmit returning NETDEV_TX_BUSY



[ Upstream commit f6396341 ]

As documented in Documentation/networking/driver.rst, the ndo_start_xmit
method must not return NETDEV_TX_BUSY under any normal circumstances, and
as recommended, we simply stop the tx queue in advance, when there is a
risk that the next xmit would cause a NETDEV_TX_BUSY return.

Signed-off-by: default avatarEsben Haabendal <esben@geanix.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarLee Jones <joneslee@google.com>
Change-Id: I394ab3d9e145cb1a481b5bb7e285a640341b68e7
parent 4f8ce766
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment