WSL2-Linux-Kernel/drivers/net/ethernet/realtek
Heiner Kallweit 314d14b040 r8169: don't increment tx_dropped in case of NETDEV_TX_BUSY
commit d516b187a9cc2e842030dd005be2735db3e8f395 upstream.

The skb isn't consumed in case of NETDEV_TX_BUSY, therefore don't
increment the tx_dropped counter.

Fixes: 188f4af046 ("r8169: use NETDEV_TX_{BUSY/OK}")
Cc: stable@vger.kernel.org
Suggested-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Link: https://patch.msgid.link/bbba9c48-8bac-4932-9aa1-d2ed63bc9433@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-08-19 05:45:34 +02:00
..
8139cp.c net: 8139cp: switch from 'pci_' to 'dma_' API 2021-08-23 12:02:28 +01:00
8139too.c dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
Kconfig
Makefile
atp.c
atp.h
r8169.h
r8169_firmware.c
r8169_firmware.h
r8169_main.c r8169: don't increment tx_dropped in case of NETDEV_TX_BUSY 2024-08-19 05:45:34 +02:00
r8169_phy_config.c r8169: fix RTL8168H and RTL8107E rx crc error 2023-04-05 11:24:55 +02:00