summaryrefslogtreecommitdiffstats
path: root/net/core/net-traces.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2013-04-17 06:46:59 +0000
committerDavid S. Miller <davem@davemloft.net>2013-04-19 14:57:57 -0400
commit1298ca4671acb10310baa550ed044c553e3a3387 (patch)
tree4849ed23751cc2ab23c1c4c62f00d970639d0e7f /net/core/net-traces.c
parent0ebd0ac5ff01ebf412e1bd3c33620ef7ffc5d866 (diff)
downloadlinux-1298ca4671acb10310baa550ed044c553e3a3387.tar.gz
linux-1298ca4671acb10310baa550ed044c553e3a3387.tar.bz2
linux-1298ca4671acb10310baa550ed044c553e3a3387.zip
netlink: don't orphan skb in netlink_trim()
Netlink doesn't account skbs to the sending socket, so the there's no need to orphan the skb before trimming it. Removing the skb_orphan() call is required for mmap'ed netlink, which uses a netlink specific skb destructor that must not be invoked before the final freeing of the skb. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/net-traces.c')
0 files changed, 0 insertions, 0 deletions