]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Make ATR recognize IPv6 extended headers
authorMark Rustad <mark.d.rustad@intel.com>
Wed, 9 Dec 2015 22:55:37 +0000 (14:55 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 8 Jan 2016 12:18:43 +0000 (04:18 -0800)
commit4ca96da25d78169ba40f5c15e2939e71a47b15ad
tree5a5356786d71fb219aef8f17808370b2df708eb0
parent8d15f6e44b1c5af5ede32b04219dbb10b0a6fd6c
ixgbe: Make ATR recognize IPv6 extended headers

Right now ATR is not handling IPv6 extended headers, so ATR is not
being performed on such packets. Fix that by skipping extended
headers when they are present. This also fixes a problem where
the ATR code was not checking that the inner protocol was actually
TCP before setting up the signature rules. Since the protocol check
is intimately involved with the extended header processing as well,
this all gets fixed together.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c