Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27149
b: refs/heads/master
c: 9bc1809
h: refs/heads/master
i:
  27147: 49f9062
v: v3
  • Loading branch information
Florin Malita authored and David S. Miller committed Jun 5, 2006
1 parent a7cddab commit 35fc866
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: 6569a351da7e58d6f0fbc92fcf0bef5d4a4bc0a4
refs/heads/master: 9bc18091a5e44a368827f539289b99788eb27d4e
3 changes: 3 additions & 0 deletions trunk/drivers/net/pppoe.c
Original file line number Diff line number Diff line change
Expand Up @@ -861,6 +861,9 @@ static int __pppoe_xmit(struct sock *sk, struct sk_buff *skb)
* give dev_queue_xmit something it can free.
*/
skb2 = skb_clone(skb, GFP_ATOMIC);

if (skb2 == NULL)
goto abort;
}

ph = (struct pppoe_hdr *) skb_push(skb2, sizeof(struct pppoe_hdr));
Expand Down

0 comments on commit 35fc866

Please sign in to comment.