]> Pileus Git - ~andy/linux/commit
Tools: hv: use single send+recv buffer
authorOlaf Hering <olaf@aepfle.de>
Tue, 6 Aug 2013 18:55:38 +0000 (20:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Sep 2013 19:03:31 +0000 (12:03 -0700)
commit269ce62bbc00c4e80bf3ca2aa21823f20625bcf6
tree357ff8f61092daf5c861ce13f7d1ec0a647a95d9
parent58125210ab3b202917c04fca014317944d464ea0
Tools: hv: use single send+recv buffer

send_buffer is used only once during registration. To reduce runtime
memory usage reuse the recv_buffer for registration. Also use
NLMSG_LENGTH instead of NLMSG_HDRLEN to take alignment into account.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/hv/hv_kvp_daemon.c
tools/hv/hv_vss_daemon.c