]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: don't use bit LastFrag in tx descriptor after send
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 28 Aug 2019 20:27:30 +0000 (22:27 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Aug 2019 00:47:27 +0000 (17:47 -0700)
commit57a1d593a4a38ba0fd8e765f71549b3480120c44
treea52e65b3134f0d903468ae0cb4190883d5baf083
parent97a3c1066dbaa057877eef79b74fcf74ba8a5b1e
r8169: don't use bit LastFrag in tx descriptor after send

On RTL8125 this bit is always cleared after send. Therefore check for
tx_skb->skb being set what is functionally equivalent.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169_main.c