]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
i40e: Fix bug with TCP over IPv6 over VXLAN
authorAnjali Singhai <anjali.singhai@intel.com>
Fri, 19 Dec 2014 02:58:16 +0000 (02:58 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 7 Jan 2015 01:15:03 +0000 (17:15 -0800)
commitdf23075fc82578a8d9cd617148fba3b90755ffb5
tree93e459826fd36e04da21278d1358b86eed7cbe62
parentf6385979d6dd670ce2dd93d4684579dd1d1d2435
i40e: Fix bug with TCP over IPv6 over VXLAN

The driver was examining the outer protocol layer to set the inner protocol
layer checksum offload.  In the case of TCP over IPV6 over an IPv4 based
VXLAN the inner checksum offloads would be set to look for IPv4/UDP instead
of IPv6/TCP.  This code fixes that so that the driver will look at the
proper layer for encapsulation offload settings.

Signed-off-by: Anjali Singhai <anjali.singhai@intel.com>
Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_txrx.c