Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=38bf3184e8c4b8cd4285a24b6f69a300b32f0062
Commit:     38bf3184e8c4b8cd4285a24b6f69a300b32f0062
Parent:     021fa22e01d3d0425d3d15df48f523b69a3a11c4
Author:     Olof Johansson <[EMAIL PROTECTED]>
AuthorDate: Wed Aug 22 09:13:24 2007 -0500
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Wed Oct 10 16:50:59 2007 -0700

    pasemi_mac: Fix RX checksum flags
    
    RX side flag to use is CHECKSUM_UNNECESSARY, not CHECKSUM_COMPLETE.
    
    Signed-off-by: Olof Johansson <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
---
 drivers/net/pasemi_mac.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/pasemi_mac.c b/drivers/net/pasemi_mac.c
index dc710a0..0bfdd79 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
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to