diff options
author | Esben Haabendal <esben@geanix.com> | 2021-06-18 12:52:38 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-18 12:11:51 -0700 |
commit | f6396341194234e9b01cd7538bc2c6ac4501ab14 (patch) | |
tree | 5a3618f2ad7032c56546210665f104b725b8070d /net/ipv4/icmp.c | |
parent | c364df2489b8ef2f5e3159b1dff1ff1fdb16040d (diff) | |
download | linux-next-f6396341194234e9b01cd7538bc2c6ac4501ab14.tar.gz |
net: ll_temac: Avoid ndo_start_xmit returning NETDEV_TX_BUSY
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: Esben Haabendal <esben@geanix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/icmp.c')
0 files changed, 0 insertions, 0 deletions