From: Dave Graham Date: Thu, 9 Oct 2008 21:28:58 +0000 (-0700) Subject: e1000e: don't generate bad checksums for tcp packets with 0 csum X-Git-Tag: v2.6.28-rc1~717^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af807c82978ec1b8c5120b59b78ef951b3e4603b;p=pandora-kernel.git e1000e: don't generate bad checksums for tcp packets with 0 csum When offloading transmit checksums only, the driver was not correctly configuring the hardware to handle the case of a zero checksum. For UDP the correct behavior is to leave it alone, but for tcp the checksum must be changed from 0x0000 to 0xFFFF. The hardware takes care of this case but only if it is told the packet is tcp. Signed-off-by: Dave Graham Signed-off-by: Jesse Brandeburg Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed