]> git.karo-electronics.de Git - linux-beck.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)
commite19dcdeb3527e996a96ea49d86cccce768b1079a
tree5a5356786d71fb219aef8f17808370b2df708eb0
parent8b75451be1fc05b6ee3f9d0eaea0006d60caff89
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