]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Mask off check of frag_off as we only want fragment offset
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 1 Feb 2013 08:56:41 +0000 (08:56 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 18 Apr 2013 04:19:09 +0000 (21:19 -0700)
commit1803596533f612240b438b63c65a5694f43d3470
treea843b20fc58ed40d33523457c516fb58e1fb7d99
parent86e62042bcdc1e42774a69121ddad43baf82cc4e
ixgbe: Mask off check of frag_off as we only want fragment offset

We were incorrectly checking the entire frag_off field when we only wanted the
fragment offset.  As a result we were not pulling in TCP headers when the DNF
flag was set.

To correct that we will now check for frag off using the IP_OFFSET mask.

Signed-off-by: Alexander Duyck <alexander.h.duyck@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