ia64/xen-unstable

annotate patches/linux-2.6.16.13/net-gso-4-kill-warnon.patch @ 11154:bb37d167c82e

[XEND] xc_save/xc_restore open the libxc interface independently
of their parent. This is required now that the interface fd is
marked for close-on-exec.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Tue Aug 15 19:04:43 2006 +0100 (2006-08-15)
parents 9519445d9e9d
children
rev   line source
kfraser@11103 1 508c578140642a641bb9b888369719c510ae2a00
kfraser@11103 2 diff --git a/net/core/dev.c b/net/core/dev.c
kfraser@11103 3 index e814a89..240773b 100644
kfraser@11103 4 --- a/net/core/dev.c
kfraser@11103 5 +++ b/net/core/dev.c
kfraser@11103 6 @@ -1087,11 +1087,6 @@ int skb_checksum_help(struct sk_buff *sk
kfraser@11103 7 goto out_set_summed;
kfraser@11103 8
kfraser@11103 9 if (unlikely(skb_shinfo(skb)->gso_size)) {
kfraser@11103 10 - static int warned;
kfraser@11103 11 -
kfraser@11103 12 - WARN_ON(!warned);
kfraser@11103 13 - warned = 1;
kfraser@11103 14 -
kfraser@11103 15 /* Let GSO fix up the checksum. */
kfraser@11103 16 goto out_set_summed;
kfraser@11103 17 }
kfraser@11103 18 @@ -1141,11 +1136,6 @@ struct sk_buff *skb_gso_segment(struct s
kfraser@11103 19 __skb_pull(skb, skb->mac_len);
kfraser@11103 20
kfraser@11103 21 if (unlikely(skb->ip_summed != CHECKSUM_HW)) {
kfraser@11103 22 - static int warned;
kfraser@11103 23 -
kfraser@11103 24 - WARN_ON(!warned);
kfraser@11103 25 - warned = 1;
kfraser@11103 26 -
kfraser@11103 27 if (skb_header_cloned(skb) &&
kfraser@11103 28 (err = pskb_expand_head(skb, 0, 0, GFP_ATOMIC)))
kfraser@11103 29 return ERR_PTR(err);