]> 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)
commit988982b24cdeb4e78715e178d17c2b7b2c5fd451
tree5a5356786d71fb219aef8f17808370b2df708eb0
parent19bd3bac5f1965254cb4318ddd8c8fd275c6bbe5
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