diff options
author | Eric Dumazet <edumazet@google.com> | 2013-07-31 01:11:15 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-01 00:24:08 +0200 |
commit | c34a761231b56dea4bd205cb9c29ffe37475d232 (patch) | |
tree | 43f6880f06f781f2fa10ee54be32c426f9b58620 /include/net/act_api.h | |
parent | netem: Introduce skb_orphan_partial() helper (diff) | |
download | linux-c34a761231b56dea4bd205cb9c29ffe37475d232.tar.xz linux-c34a761231b56dea4bd205cb9c29ffe37475d232.zip |
net: skb_orphan() changes
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>
Diffstat (limited to 'include/net/act_api.h')
0 files changed, 0 insertions, 0 deletions