From: Patrick McHardy Date: Wed, 17 Apr 2013 06:46:59 +0000 (+0000) Subject: netlink: don't orphan skb in netlink_trim() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~88^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1298ca4671acb10310baa550ed044c553e3a3387;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed