diff options
author | françois romieu <romieu@fr.zoreil.com> | 2013-05-18 01:24:46 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-20 00:01:07 -0700 |
commit | b423e9ae49d78ea3f53b131c8d5a6087aed16fd6 (patch) | |
tree | 4ba19fa8459f53280b1c70b85c67b614d141ad0e /net/ipv4/ip_gre.c | |
parent | 318debd897735fe834545b6f3d2e96bcc9210b9f (diff) | |
download | linux-stable-b423e9ae49d78ea3f53b131c8d5a6087aed16fd6.tar.gz linux-stable-b423e9ae49d78ea3f53b131c8d5a6087aed16fd6.tar.bz2 linux-stable-b423e9ae49d78ea3f53b131c8d5a6087aed16fd6.zip |
r8169: fix offloaded tx checksum for small packets.
8168evl offloaded checksums are wrong since commit
e5195c1f31f399289347e043d6abf3ffa80f0005 ("r8169: fix 8168evl frame padding.")
pads small packets to 60 bytes (without ethernet checksum). Typical symptoms
appear as UDP checksums which are wrong by the count of added bytes.
It isn't worth compensating. Let the driver checksum.
Due to the skb length changes, TSO code is moved before the Tx descriptor gets
written.
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Tested-by: Holger Hoffstätte <holger.hoffstaette@googlemail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_gre.c')
0 files changed, 0 insertions, 0 deletions