Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 264379
b: refs/heads/master
c: 835acf5
h: refs/heads/master
i:
  264377: 7373fb4
  264375: 9ca3ac6
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Oct 19, 2011
1 parent 4936f4d commit 46477fd
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 1ce5cce895309862d2c35d922816adebe094fe4a
refs/heads/master: 835acf5da239b91edb9f7ebe36516999e156e6ee
4 changes: 3 additions & 1 deletion trunk/net/l2tp/l2tp_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1045,8 +1045,10 @@ int l2tp_xmit_skb(struct l2tp_session *session, struct sk_buff *skb, int hdr_len
headroom = NET_SKB_PAD + sizeof(struct iphdr) +
uhlen + hdr_len;
old_headroom = skb_headroom(skb);
if (skb_cow_head(skb, headroom))
if (skb_cow_head(skb, headroom)) {
dev_kfree_skb(skb);
goto abort;
}

new_headroom = skb_headroom(skb);
skb_orphan(skb);
Expand Down

0 comments on commit 46477fd

Please sign in to comment.