commit | 269ce62bbc00c4e80bf3ca2aa21823f20625bcf6 | [log] [tgz] |
---|---|---|
author | Olaf Hering <olaf@aepfle.de> | Tue Aug 06 20:55:38 2013 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Sep 26 12:03:31 2013 -0700 |
tree | 357ff8f61092daf5c861ce13f7d1ec0a647a95d9 | |
parent | 58125210ab3b202917c04fca014317944d464ea0 [diff] |
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>