diff options
| author | Eric Dumazet <edumazet@google.com> | 2013-07-30 16:11:15 -0700 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-11 11:00:10 +0200 |
| commit | 593d24328485c0d1e07ae01608f8885c706355d5 (patch) | |
| tree | bcfbed391a432a9872b0274d6d0eb03bee7a5b3d /arch/mips/include/asm | |
| parent | f834058d996291849ff03d690393fbf8e50be60c (diff) | |
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.
Change-Id: I3edddb522d5f0c81e9c09e01946ab2f68f4b68ad
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/mips/include/asm')
0 files changed, 0 insertions, 0 deletions
