mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
No changes required to sparse tree or patches directory. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
28 lines
790 B
Diff
28 lines
790 B
Diff
diff -pruN ../orig-linux-2.6.16.29/net/core/dev.c ./net/core/dev.c
|
|
--- ../orig-linux-2.6.16.29/net/core/dev.c 2006-09-19 13:59:46.000000000 +0100
|
|
+++ ./net/core/dev.c 2006-09-19 14:05:32.000000000 +0100
|
|
@@ -1087,11 +1087,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;
|
|
}
|
|
@@ -1141,11 +1136,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);
|