git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2f872f
)
net: skb_orphan() changes
author
Eric Dumazet
<edumazet@google.com>
Tue, 30 Jul 2013 23:11:15 +0000
(16:11 -0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 31 Jul 2013 22:24:08 +0000
(15:24 -0700)
It is illegal to set skb->sk without corresponding destructor.
Its therefore safe for skb_orphan() to not clear skb->sk if
skb->destructor is not set.
Also avoid clearing skb->destructor if already NULL.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found