]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6013706a0193278ecc4dcaf8e7fc58fb69b71b9d
treece498b80f7b39f4d78b3b7c9dda8f5e2c1ee458d
parent6f3135bbaf17efff90ec49e056401a6a4c378d49
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