android_kernel_samsung_sm8650/drivers/net/ethernet/intel/igbvf
Alexander Duyck 516165a1e2 igb/igbvf: Don't use lco_csum to compute IPv4 checksum
In the case of IPIP and SIT tunnel frames the outer transport header
offset is actually set to the same offset as the inner transport header.
This results in the lco_csum call not doing any checksum computation over
the inner IPv4/v6 header data.

In order to account for that I am updating the code so that we determine
the location to start the checksum ourselves based on the location of the
IPv4 header and the length.

Fixes: e10715d3e9 ("igb/igbvf: Add support for GSO partial")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-12-01 15:41:35 -05:00
..
defines.h igbvf: use BIT() macro instead of shifts 2016-05-13 15:12:03 -07:00
ethtool.c igbvf: use BIT() macro instead of shifts 2016-05-13 15:12:03 -07:00
igbvf.h igbvf: use BIT() macro instead of shifts 2016-05-13 15:12:03 -07:00
Makefile igbvf: change copyright date 2012-02-03 03:07:15 -08:00
mbx.c igb/igbvf: don't give up 2016-02-15 16:17:57 -08:00
mbx.h igbvf: Fix code comments and whitespace 2015-02-23 17:11:54 -08:00
netdev.c igb/igbvf: Don't use lco_csum to compute IPv4 checksum 2016-12-01 15:41:35 -05:00
regs.h igbvf: Fix code comments and whitespace 2015-02-23 17:11:54 -08:00
vf.c igbvf: use BIT() macro instead of shifts 2016-05-13 15:12:03 -07:00
vf.h igbvf: Add support for generic Tx checksums 2016-02-24 15:42:33 -08:00