linux/drivers/net/ethernet
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
..
3com 3c59x: use IS_ENABLED() instead of checking for built-in or module 2016-09-12 20:27:57 -07:00
8390
adaptec starfire: use IS_ENABLED() instead of checking for built-in or module 2016-09-12 20:27:57 -07:00
adi
aeroflex
agere
allwinner
alteon
altera net: ethernet: altera: fix fixed-link phydev leaks 2016-11-29 23:17:02 -05:00
amazon
amd amd-xgbe: Fix unused suspend handlers build warning 2016-11-28 12:19:36 -05:00
apm drivers: net: xgene: fix: Coalescing values for v2 hardware 2016-11-01 12:04:52 -04:00
apple
arc net: arc_emac: don't pass multicast packets to kernel in non-multicast mode 2016-11-15 19:58:13 -05:00
atheros alx: fix error handling in __alx_open 2016-09-15 20:15:26 -04:00
aurora net: ethernet: aurora: nb8800: fix fixed-link phydev leaks 2016-11-29 23:17:02 -05:00
broadcom net: ethernet: bcmgenet: fix fixed-link phydev leaks 2016-11-29 23:17:02 -05:00
brocade bna: Add synchronization for tx ring. 2016-11-09 13:31:10 -05:00
cadence net: macb: ensure ordering write to re-enable RX smoothly 2016-11-29 20:33:55 -05:00
calxeda
cavium net: thunderx: Fix memory leak and other issues upon interface toggle 2016-11-16 13:28:33 -05:00
chelsio cxgb4: Add PCI device ID for new adapter 2016-11-30 14:11:47 -05:00
cirrus
cisco enic: fix rq disable 2016-10-29 17:23:39 -04:00
davicom
dec
dlink sundance: use IS_ENABLED() instead of checking for built-in or module 2016-09-12 20:27:58 -07:00
emulex be2net: do not call napi_hash_del() 2016-11-16 17:06:51 -05:00
ezchip net: nps_enet: Fix module autoload 2016-10-17 13:03:02 -04:00
faraday net/faraday: Stop NCSI device on shutdown 2016-10-04 02:11:51 -04:00
freescale net: fec: cache statistics while device is down 2016-11-30 12:44:40 -05:00
fujitsu
hisilicon net: hns: fix device reference leaks 2016-11-07 13:17:30 -05:00
hp
i825xx i825xx: use IS_ENABLED() instead of checking for built-in or module 2016-09-12 20:27:58 -07:00
ibm ibmvnic: drop duplicate header seq_file.h 2016-11-25 20:32:10 -05:00
intel igb/igbvf: Don't use lco_csum to compute IPv4 checksum 2016-12-01 15:41:35 -05:00
marvell net: ethernet: marvell: mvneta: fix fixed-link phydev leaks 2016-11-29 23:17:02 -05:00
mediatek net: ethernet: mediatek: fix fixed-link phydev leaks 2016-11-29 23:17:02 -05:00
mellanox net/mlx4: Fix uninitialized fields in rule when adding promiscuous mode to device managed flow steering 2016-11-28 15:33:46 -05:00
micrel
microchip kthread: kthread worker API cleanup 2016-10-11 15:06:33 -07:00
moxa
myricom
natsemi natsemi: use IS_ENABLED() instead of checking for built-in or module 2016-09-12 20:27:59 -07:00
neterion
netronome nfp: bpf: zero extend 4 byte context loads 2016-09-30 02:10:15 -04:00
nuvoton
nvidia
nxp
oki-semi
packetengines
pasemi
qlogic qed: Correct rdma params configuration 2016-11-10 12:55:20 -05:00
qualcomm net: qcom/emac: fix of_node and phydev leaks 2016-11-27 20:01:15 -05:00
rdc net: r6040: add in missing white space in error message text 2016-09-18 22:22:16 -04:00
realtek r8169: set coherent DMA mask as well as streaming DMA mask 2016-10-15 17:29:38 -04:00
renesas net: ethernet: renesas: ravb: fix fixed-link phydev leaks 2016-11-29 23:17:02 -05:00
rocker rocker: fix error return code in rocker_world_check_init() 2016-10-26 17:20:36 -04:00
samsung
seeq
sfc sfc: clear napi_hash state when copying channels 2016-11-13 13:41:42 -05:00
sgi
silan
sis sis900: use IS_ENABLED() instead of checking for built-in or module 2016-09-12 20:27:59 -07:00
smsc net: smc91x: take into account register shift 2016-09-25 23:45:32 -04:00
stmicro ethernet: stmmac: make DWMAC_STM32 depend on it's associated SoC 2016-11-21 11:34:24 -05:00
sun sunbmac: Fix compiler warning 2016-11-18 11:18:27 -08:00
synopsys net: ethernet: dwc_eth_qos: fix fixed-link phydev leaks 2016-11-29 23:17:02 -05:00
tehuti
ti net: ethernet: ti: cpsw: fix ASSERT_RTNL() warning during resume 2016-11-30 14:59:08 -05:00
tile
toshiba ps3_gelic: fix spelling mistake in debug message 2016-11-14 13:38:57 -05:00
tundra
via via-velocity: remove null pointer check on array tdinfo->skb_dma 2016-09-09 18:17:33 -07:00
wiznet treewide: remove redundant #include <linux/kconfig.h> 2016-10-11 15:06:33 -07:00
xilinx net: axienet: Remove unused parameter from __axienet_device_reset 2016-10-13 12:15:28 -04:00
xircom
xscale net: ethernet: ixp4xx_eth: fix spelling mistake in debug message 2016-11-13 13:48:28 -05:00
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig
korina.c
lantiq_etop.c
Makefile
netx-eth.c