aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2007-08-22 10:13:24 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:50:59 -0400
commit38bf3184e8c4b8cd4285a24b6f69a300b32f0062 (patch)
treebc6a0d0762e86d98354aaeae20bb32e25addd897 /drivers/net
parent021fa22e01d3d0425d3d15df48f523b69a3a11c4 (diff)
pasemi_mac: Fix RX checksum flags
RX side flag to use is CHECKSUM_UNNECESSARY, not CHECKSUM_COMPLETE. Signed-off-by: Olof Johansson <olof@lixom.net> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/pasemi_mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pasemi_mac.c b/drivers/net/pasemi_mac.c
index dc710a0826b2..0bfdd79de6cf 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)
524 skb_put(skb, len); 524 skb_put(skb, len);
525 525
526 if (likely((macrx & XCT_MACRX_HTY_M) == XCT_MACRX_HTY_IPV4_OK)) { 526 if (likely((macrx & XCT_MACRX_HTY_M) == XCT_MACRX_HTY_IPV4_OK)) {
527 skb->ip_summed = CHECKSUM_COMPLETE; 527 skb->ip_summed = CHECKSUM_UNNECESSARY;
528 skb->csum = (macrx & XCT_MACRX_CSUM_M) >> 528 skb->csum = (macrx & XCT_MACRX_CSUM_M) >>
529 XCT_MACRX_CSUM_S; 529 XCT_MACRX_CSUM_S;
530 } else 530 } else