# HG changeset patch
# User Jimi Xenidis <[EMAIL PROTECTED]>
# Node ID 298b4a676daeecb543e6372fbb78a16e385378a5
# Parent  bcd09a8690af89f3c8ac1bc92a003d2a9cddb0c6
Packport: GSO/Checksum Fix

Reasoning described here:
  
http://kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=b60dfc6c20bd5f19de0083362ce377c89b1e5a24

Signed-off-by: Jimi Xenidis <[EMAIL PROTECTED]>
---
 net/core/dev.c |   10 ----------
 1 files changed, 10 deletions(-)

diff -r bcd09a8690af -r 298b4a676dae net/core/dev.c
--- a/net/core/dev.c    Tue Oct 24 06:10:42 2006 -0400
+++ b/net/core/dev.c    Tue Oct 24 06:34:37 2006 -0400
@@ -1173,11 +1173,6 @@ int skb_checksum_help(struct sk_buff *sk
                goto out_set_summed;
 
        if (unlikely(skb_shinfo(skb)->gso_size)) {
-               static int warned;
-
-               WARN_ON(!warned);
-               warned = 1;
-
                /* Let GSO fix up the checksum. */
                goto out_set_summed;
        }
@@ -1227,11 +1222,6 @@ struct sk_buff *skb_gso_segment(struct s
        __skb_pull(skb, skb->mac_len);
 
        if (unlikely(skb->ip_summed != CHECKSUM_HW)) {
-               static int warned;
-
-               WARN_ON(!warned);
-               warned = 1;
-
                if (skb_header_cloned(skb) &&
                    (err = pskb_expand_head(skb, 0, 0, GFP_ATOMIC)))
                        return ERR_PTR(err);

_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@lists.xensource.com
http://lists.xensource.com/xen-ppc-devel

Reply via email to