Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Drivers: hv: kvp: Copy the address family information

This is part of the IP injection protocol in that the host expects this field
to reflect what addresses (address families) are currently bound to the
interface. The KVP daemon is currently collecting this information and sending
it to the kernel component. I had overlooked copying this and sending it
back to the host. This patch addresses this issue.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

K. Y. Srinivasan and committed by
Greg Kroah-Hartman
a500e0e7 7c304d7e

+2
+2
drivers/hv/hv_kvp.c
··· 256 256 257 257 out->kvp_ip_val.dhcp_enabled = 258 258 in->body.kvp_ip_val.dhcp_enabled; 259 + out->kvp_ip_val.addr_family = 260 + in->body.kvp_ip_val.addr_family; 259 261 } 260 262 261 263 return 0;