diff options
author | Thomas Graf <tgraf@suug.ch> | 2013-11-30 13:21:30 +0100 |
---|---|---|
committer | Jesse Gross <jesse@nicira.com> | 2014-01-06 15:51:53 -0800 |
commit | bb9b18fb55b03477fe5bdd3e97245d6d4d3dee4f (patch) | |
tree | 02d730abd6f31752a842f8c1d9f30d62d185e0b2 /net/netlink/af_netlink.c | |
parent | 663efa3696232300a8ad3a46bb10482fc0b861cf (diff) | |
download | lwn-bb9b18fb55b03477fe5bdd3e97245d6d4d3dee4f.tar.gz lwn-bb9b18fb55b03477fe5bdd3e97245d6d4d3dee4f.zip |
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>
Diffstat (limited to 'net/netlink/af_netlink.c')
0 files changed, 0 insertions, 0 deletions