Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134297
b: refs/heads/master
c: 9a279bc
h: refs/heads/master
i:
  134295: acfef3f
v: v3
  • Loading branch information
Herbert Xu authored and David S. Miller committed Feb 5, 2009
1 parent af6b878 commit a28e936
Show file tree
Hide file tree
Showing 3 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: 7870389478d3c682c79c07abe7f1fce8b8a81952
refs/heads/master: 9a279bcbe347496799711155ed41a89bc40f79c5
2 changes: 2 additions & 0 deletions trunk/net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -2288,6 +2288,8 @@ int netif_receive_skb(struct sk_buff *skb)
if (!skb)
goto out;

skb_orphan(skb);

type = skb->protocol;
list_for_each_entry_rcu(ptype,
&ptype_base[ntohs(type) & PTYPE_HASH_MASK], list) {
Expand Down
1 change: 1 addition & 0 deletions trunk/net/netfilter/nf_tproxy_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ int
nf_tproxy_assign_sock(struct sk_buff *skb, struct sock *sk)
{
if (inet_sk(sk)->transparent) {
skb_orphan(skb);
skb->sk = sk;
skb->destructor = nf_tproxy_destructor;
return 1;
Expand Down

0 comments on commit a28e936

Please sign in to comment.