From: Thomas Graf Date: Sat, 30 Nov 2013 12:21:30 +0000 (+0100) Subject: genl: Add genlmsg_new_unicast() for unicast message allocation X-Git-Tag: v3.14-rc1~94^2~265^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb9b18fb55b03477fe5bdd3e97245d6d4d3dee4f;p=pandora-kernel.git genl: Add genlmsg_new_unicast() for unicast message allocation Allocates a new sk_buff large enough to cover the specified payload plus required Netlink headers. Will check receiving socket for memory mapped i/o capability and use it if enabled. Will fall back to non-mapped skb if message size exceeds the frame size of the ring. Signed-of-by: Thomas Graf Reviewed-by: Daniel Borkmann Signed-off-by: Jesse Gross --- Reading git-diff-tree failed