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)
commit182ff8dfdb63e66ca81e4d3a4c746f8d578e5687
tree8aa692b4a9576212020d61a1b2bab814aade1b9f
parent2844f7975837d47fe7f20aa96c1df3bcecf91935
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