commit | bb9b18fb55b03477fe5bdd3e97245d6d4d3dee4f | [log] [tgz] |
---|---|---|
author | Thomas Graf <tgraf@suug.ch> | Sat Nov 30 13:21:30 2013 +0100 |
committer | Jesse Gross <jesse@nicira.com> | Mon Jan 06 15:51:53 2014 -0800 |
tree | 02d730abd6f31752a842f8c1d9f30d62d185e0b2 | |
parent | 663efa3696232300a8ad3a46bb10482fc0b861cf [diff] |
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 <tgraf@suug.ch> Reviewed-by: Daniel Borkmann <dborkman@redhat.com> Signed-off-by: Jesse Gross <jesse@nicira.com>