Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210140
b: refs/heads/master
c: bfc960a
h: refs/heads/master
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Aug 26, 2010
1 parent 0e7ed40 commit 1b64d8f
Show file tree
Hide file tree
Showing 2 changed files with 2 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: d84ba638e4ba3c40023ff997aa5e8d3ed002af36
refs/heads/master: bfc960a8eec023a170a80697fe65157cd4f44f81
2 changes: 1 addition & 1 deletion trunk/net/l2tp/l2tp_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ static void l2tp_eth_dev_recv(struct l2tp_session *session, struct sk_buff *skb,
printk("\n");
}

if (data_len < ETH_HLEN)
if (!pskb_may_pull(skb, sizeof(ETH_HLEN)))
goto error;

secpath_reset(skb);
Expand Down

0 comments on commit 1b64d8f

Please sign in to comment.