netlink-socket: Make caller provide message receive buffers.
authorBen Pfaff <blp@nicira.com>
Mon, 9 Apr 2012 22:35:29 +0000 (15:35 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 19 Apr 2012 03:28:48 +0000 (20:28 -0700)
commit72d32ac0b3a1358cb36cf43f15ee7c026be36d2c
treea031af06500b11fb4bddfa81f17af9916f632ba9
parent8843668ae593f51b3bf4ab189fa218c40f0f0e33
netlink-socket: Make caller provide message receive buffers.

Typically an nl_sock client can stack-allocate the buffer for receiving
a Netlink message, which provides a performance boost.

Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/dpif-linux.c
lib/netlink-notifier.c
lib/netlink-socket.c
lib/netlink-socket.h
utilities/nlmon.c
vswitchd/ovs-brcompatd.c