Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 201310
b: refs/heads/master
c: 00c5a98
h: refs/heads/master
v: v3
  • Loading branch information
Andrea Shepard authored and David S. Miller committed Jul 22, 2010
1 parent ee09c74 commit 5b539fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 8a35747a5d13b99e076b0222729e0caa48cb69b6
refs/heads/master: 00c5a9834b476a138158fb17d576da751727a9f1
4 changes: 3 additions & 1 deletion trunk/net/core/skbuff.c
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,9 @@ int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail,
skb->network_header += off;
if (skb_mac_header_was_set(skb))
skb->mac_header += off;
skb->csum_start += nhead;
/* Only adjust this if it actually is csum_start rather than csum */
if (skb->ip_summed == CHECKSUM_PARTIAL)
skb->csum_start += nhead;
skb->cloned = 0;
skb->hdr_len = 0;
skb->nohdr = 0;
Expand Down

0 comments on commit 5b539fe

Please sign in to comment.