]> git.baikalelectronics.ru Git - kernel.git/commit
igb/ixgbe: remove unecessary checks for CHECKSUM_UNNECESSARY
authorAlexander Duyck <alexander.h.duyck@intel.com>
Mon, 27 Apr 2009 22:35:33 +0000 (22:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Apr 2009 08:53:13 +0000 (01:53 -0700)
commitfdd8de42b9b48c32e6c42d8491028d30b965181f
tree8aa692b4a9576212020d61a1b2bab814aade1b9f
parentf553dc21db45761813926d1edf68e2bbde6206f8
igb/ixgbe: remove unecessary checks for CHECKSUM_UNNECESSARY

Both of these drivers do a check to verify ip_summed is set to
CHECKSUM_UNNECESSARY prior to passing the packet to GRO.  GRO itself
already does such a check so it is redundant and can be removed as this
will likely cause out of order issues when receiving a packet that didn't
pass checksum validation.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igb/igb_main.c
drivers/net/ixgbe/ixgbe_main.c