Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33094
b: refs/heads/master
c: b60dfc6
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Aug 2, 2006
1 parent f7a564c commit 0aef82a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3ab720881b6e36bd5190a3a11cee8d8d067c4ad7
refs/heads/master: b60dfc6c20bd5f19de0083362ce377c89b1e5a24
10 changes: 0 additions & 10 deletions trunk/net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1166,11 +1166,6 @@ int skb_checksum_help(struct sk_buff *skb, int inward)
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;
}
Expand Down Expand Up @@ -1220,11 +1215,6 @@ struct sk_buff *skb_gso_segment(struct sk_buff *skb, int features)
__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);
Expand Down

0 comments on commit 0aef82a

Please sign in to comment.