From: Lennert Buytenhek Date: Fri, 19 Sep 2008 00:58:50 +0000 (+0200) Subject: mv643xx_eth: fix receive checksumming X-Git-Tag: v2.6.28-rc1~717^2~194^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=170e7108a368c52df1ec466966fd1db6e45a7ad2;p=pandora-kernel.git mv643xx_eth: fix receive checksumming We have to explicitly tell the hardware to include the pseudo-header when doing receive checksumming, otherwise hardware checksumming will fail for every received packet and we'll end up setting CHECKSUM_NONE on every received packet. While we're at it, when skb->ip_summed is set to CHECKSUM_UNNECESSARY on received packets, skb->csum is supposed to be undefined, and thus there is no need to set it. Signed-off-by: Lennert Buytenhek --- Reading git-diff-tree failed