Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 232450
b: refs/heads/master
c: d1dc7ab
h: refs/heads/master
v: v3
  • Loading branch information
Michal Schmidt authored and David S. Miller committed Jan 24, 2011
1 parent 982477d commit 2e0072d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 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: e92427b289d252cfbd4cb5282d92f4ce1a5bb1fb
refs/heads/master: d1dc7abf2fafa34b0ffcd070fd59405aa9c0a4d8
8 changes: 6 additions & 2 deletions trunk/net/core/skbuff.c
Original file line number Diff line number Diff line change
Expand Up @@ -2744,8 +2744,12 @@ int skb_gro_receive(struct sk_buff **head, struct sk_buff *skb)

merge:
if (offset > headlen) {
skbinfo->frags[0].page_offset += offset - headlen;
skbinfo->frags[0].size -= offset - headlen;
unsigned int eat = offset - headlen;

skbinfo->frags[0].page_offset += eat;
skbinfo->frags[0].size -= eat;
skb->data_len -= eat;
skb->len -= eat;
offset = headlen;
}

Expand Down

0 comments on commit 2e0072d

Please sign in to comment.