]> git.baikalelectronics.ru Git - 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)
commit27b2a028a517eda8a926d3b99d6900dcb7fc113a
tree93e459826fd36e04da21278d1358b86eed7cbe62
parenta423b2a4d00a3f2f26da893b726c15fb637bc20c
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