]> git.baikalelectronics.ru Git - kernel.git/commit
igb: 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:47 +0000 (08:56 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 18 Apr 2013 23:40:01 +0000 (16:40 -0700)
commit6eb377d06caa37fe4b918891d70c08fde6638108
treed83b423538bd5243c528e1fc5dc4e61ea00bcdc5
parent808e4321a87fe5b7530509d7448196c8cb0dadae
igb: 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: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/igb_main.c