From: Olof Johansson Date: Wed, 22 Aug 2007 14:13:24 +0000 (-0500) Subject: pasemi_mac: Fix RX checksum flags X-Git-Tag: v2.6.24-rc1~1454^2~510 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=38bf3184e8c4b8cd4285a24b6f69a300b32f0062;p=linux-2.6-omap-h63xx.git pasemi_mac: Fix RX checksum flags RX side flag to use is CHECKSUM_UNNECESSARY, not CHECKSUM_COMPLETE. Signed-off-by: Olof Johansson Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/pasemi_mac.c b/drivers/net/pasemi_mac.c index dc710a0826b..0bfdd79de6c 100644 --- a/drivers/net/pasemi_mac.c +++ b/drivers/net/pasemi_mac.c @@ -524,7 +524,7 @@ static int pasemi_mac_clean_rx(struct pasemi_mac *mac, int limit) skb_put(skb, len); if (likely((macrx & XCT_MACRX_HTY_M) == XCT_MACRX_HTY_IPV4_OK)) { - skb->ip_summed = CHECKSUM_COMPLETE; + skb->ip_summed = CHECKSUM_UNNECESSARY; skb->csum = (macrx & XCT_MACRX_CSUM_M) >> XCT_MACRX_CSUM_S; } else