r8169: improve r8169_csum_workaround
authorHeiner Kallweit <hkallweit1@gmail.com>
Fri, 31 May 2019 17:17:15 +0000 (19:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Jun 2019 01:13:33 +0000 (18:13 -0700)
commit0b12c73a81b312f1f44ab3968b684f58f9bdbda7
tree5f1921d5bb6b8b16d2a1e6091ba219e63fc9caea
parentdb4bad07371b53dbce34e8ae54d4aa93096841d6
r8169: improve r8169_csum_workaround

Use helper skb_is_gso() and simplify access to tx_dropped.

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