direct-io.hg

diff patches/linux-2.6.16.33/net-gso-4-kill-warnon.patch @ 12592:6c2c7ff6265a

[LINUX] Update to 2.6.16.33.

No changes required to sparse tree or patches directory.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
author Ian Campbell <ian.campbell@xensource.com>
date Tue Nov 28 15:25:26 2006 +0000 (2006-11-28)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/linux-2.6.16.33/net-gso-4-kill-warnon.patch	Tue Nov 28 15:25:26 2006 +0000
     1.3 @@ -0,0 +1,27 @@
     1.4 +diff -pruN ../orig-linux-2.6.16.29/net/core/dev.c ./net/core/dev.c
     1.5 +--- ../orig-linux-2.6.16.29/net/core/dev.c	2006-09-19 13:59:46.000000000 +0100
     1.6 ++++ ./net/core/dev.c	2006-09-19 14:05:32.000000000 +0100
     1.7 +@@ -1087,11 +1087,6 @@ int skb_checksum_help(struct sk_buff *sk
     1.8 + 		goto out_set_summed;
     1.9 + 
    1.10 + 	if (unlikely(skb_shinfo(skb)->gso_size)) {
    1.11 +-		static int warned;
    1.12 +-
    1.13 +-		WARN_ON(!warned);
    1.14 +-		warned = 1;
    1.15 +-
    1.16 + 		/* Let GSO fix up the checksum. */
    1.17 + 		goto out_set_summed;
    1.18 + 	}
    1.19 +@@ -1141,11 +1136,6 @@ struct sk_buff *skb_gso_segment(struct s
    1.20 + 	__skb_pull(skb, skb->mac_len);
    1.21 + 
    1.22 + 	if (unlikely(skb->ip_summed != CHECKSUM_HW)) {
    1.23 +-		static int warned;
    1.24 +-
    1.25 +-		WARN_ON(!warned);
    1.26 +-		warned = 1;
    1.27 +-
    1.28 + 		if (skb_header_cloned(skb) &&
    1.29 + 		    (err = pskb_expand_head(skb, 0, 0, GFP_ATOMIC)))
    1.30 + 			return ERR_PTR(err);