remarkable-linux/net/netlink
Patrick McHardy 1298ca4671 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>
2013-04-19 14:57:57 -04:00
..
af_netlink.c netlink: don't orphan skb in netlink_trim() 2013-04-19 14:57:57 -04:00
af_netlink.h net: prepare netlink code for netlink diag 2013-03-21 12:38:02 -04:00
diag.c netlink: Diag core and basic socket info dumping (v2) 2013-03-21 12:38:03 -04:00
genetlink.c genetlink: trigger BUG_ON if a group name is too long 2013-03-20 12:05:51 -04:00
Kconfig netlink: Diag core and basic socket info dumping (v2) 2013-03-21 12:38:03 -04:00
Makefile netlink: Diag core and basic socket info dumping (v2) 2013-03-21 12:38:03 -04:00