diff options
author | Olaf Hering <olaf@aepfle.de> | 2013-08-01 16:34:26 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-02 07:44:18 +0400 |
commit | b4919a5f95c09992f66d4b7cbe392c33731a5cec (patch) | |
tree | 2e5cece4cb4167d5e99e804cd10c54601ac3a1d0 /crypto/xcbc.c | |
parent | cfc25993e81f3fa68481d062be634d33184d5eae (diff) | |
download | linux-b4919a5f95c09992f66d4b7cbe392c33731a5cec.tar.xz |
Tools: hv: fix send/recv buffer allocation
hv_kvp_daemon fails to start in current openSuSE 13.1 snapshots because
the kvp_send_buffer is too small to hold cn_msg+hv_kvp_msg, the very
first sendmsg returns with EFAULT. In addition it fixes the Network info
tab in Windows Server 2012R2 in SLES11.
Adjust the code in kvp and vss daemon to allocate the needed buffers at
runtime. To keep the code simple, the buffer_len includes also the
nlmsghdr, although only the recv_buffer needs this extra space.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/xcbc.c')
0 files changed, 0 insertions, 0 deletions