From: Lennert Buytenhek Date: Fri, 19 Sep 2008 02:05:00 +0000 (+0200) Subject: mv643xx_eth: deal with unexpected ethernet header sizes X-Git-Tag: v2.6.28-rc1~717^2~194^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4df89bd5a5fc33860f15f5f001a78f2b3f150725;p=pandora-kernel.git mv643xx_eth: deal with unexpected ethernet header sizes When the IP header doesn't start 14, 18, 22 or 26 bytes into the packet (which are the only four cases that the hardware can deal with if asked to do IP checksumming on transmit), invoke the software checksum helper instead of letting the packet go out with a corrupt checksum inserted into the packet in the wrong place. Signed-off-by: Lennert Buytenhek --- Reading git-diff-tree failed