Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 97935
b: refs/heads/master
c: bc6cffd
h: refs/heads/master
i:
  97933: 91b1bcf
  97931: 690cd0c
  97927: 37734ce
  97919: cce120f
v: v3
  • Loading branch information
Herbert Xu authored and David S. Miller committed Jun 10, 2008
1 parent 320d28b commit 023f001
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 392fdb0e35055b96faa9c1cd6ab537805337cdce
refs/heads/master: bc6cffd177f9266af38dba96a2cea06c1e7ff932
6 changes: 3 additions & 3 deletions trunk/drivers/net/pppoe.c
Original file line number Diff line number Diff line change
Expand Up @@ -432,12 +432,12 @@ static int pppoe_disc_rcv(struct sk_buff *skb,
if (dev_net(dev) != &init_net)
goto abort;

if (!pskb_may_pull(skb, sizeof(struct pppoe_hdr)))
goto abort;

if (!(skb = skb_share_check(skb, GFP_ATOMIC)))
goto out;

if (!pskb_may_pull(skb, sizeof(struct pppoe_hdr)))
goto abort;

ph = pppoe_hdr(skb);
if (ph->code != PADT_CODE)
goto abort;
Expand Down

0 comments on commit 023f001

Please sign in to comment.