r8169: remove r8169_csum_workaround
authorHeiner Kallweit <hkallweit1@gmail.com>
Fri, 26 Jul 2019 19:50:34 +0000 (21:50 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 27 Jul 2019 21:25:07 +0000 (14:25 -0700)
commit96ea772ef24114e6aa3ce39599474ae794be625f
treece498b80f7b39f4d78b3b7c9dda8f5e2c1ee458d
parente64e0c89749969b22415fd3e766b33b37264c6ea
r8169: remove r8169_csum_workaround

The loop in r8169_csum_workaround is called only if in
msdn_giant_send_check a copy of the skb header needs to be made and
we don't have enough memory. Let's simply drop the packet in that case
so that we can remove r8169_csum_workaround.

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