From: Wolfram Joost Date: Mon, 16 Jan 2006 23:57:41 +0000 (-0700) Subject: [PATCH] mv643xx_eth: Request HW checksum generation only for IPv4 X-Git-Tag: v2.6.16-rc2~366^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63890576a3bfd5c6aea86fb72236682480865bc0;p=pandora-kernel.git [PATCH] mv643xx_eth: Request HW checksum generation only for IPv4 This patch removes the NETIF_F_HW_CSUM flag to be able to use other protocols than IPv4. Hardware checksums for IPv4 should continue to work because NETIF_F_IP_CSUM is still set. The sanity-check has been enhanced to check the used protocol and to not access skb->iph for non-ipv4-packets. Signed-off-by: Wolfram Joost Signed-off-by: Dale Farnsworth mv643xx_eth.c | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed