Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 19947
b: refs/heads/master
c: fc3fba6
h: refs/heads/master
i:
  19945: dce304e
  19943: 372d275
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Feb 6, 2006
1 parent 5e88e64 commit 9d96c38
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b2faf597d93bdf5e2d12d93ea0815935a73f749e
refs/heads/master: fc3fba60f5d292a3b875e2498577fc35bd68b9da
3 changes: 3 additions & 0 deletions trunk/drivers/net/ppp_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -1610,6 +1610,8 @@ ppp_receive_nonmp_frame(struct ppp *ppp, struct sk_buff *skb)
}
else if (!pskb_may_pull(skb, skb->len))
goto err;
else
skb->ip_summed = CHECKSUM_NONE;

len = slhc_uncompress(ppp->vj, skb->data + 2, skb->len - 2);
if (len <= 0) {
Expand Down Expand Up @@ -1690,6 +1692,7 @@ ppp_receive_nonmp_frame(struct ppp *ppp, struct sk_buff *skb)
kfree_skb(skb);
} else {
skb_pull(skb, 2); /* chop off protocol */
skb_postpull_rcsum(skb, skb->data - 2, 2);
skb->dev = ppp->dev;
skb->protocol = htons(npindex_to_ethertype[npi]);
skb->mac.raw = skb->data;
Expand Down

0 comments on commit 9d96c38

Please sign in to comment.