summaryrefslogtreecommitdiff
path: root/drivers/hv
diff options
context:
space:
mode:
authorK. Y. Srinivasan <kys@microsoft.com>2012-09-04 17:54:13 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-05 12:12:38 -0700
commita500e0e73514ee2b838e439d3eb0750dda1da20f (patch)
tree3ebcbc8a0066837956bb2eb23549eb5f5eb37439 /drivers/hv
parent7c304d7e24fd4996a2b219312f739c4406b8e2e3 (diff)
downloadlinux-3.10-a500e0e73514ee2b838e439d3eb0750dda1da20f.tar.gz
linux-3.10-a500e0e73514ee2b838e439d3eb0750dda1da20f.tar.bz2
linux-3.10-a500e0e73514ee2b838e439d3eb0750dda1da20f.zip
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>
Diffstat (limited to 'drivers/hv')
-rw-r--r--drivers/hv/hv_kvp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hv/hv_kvp.c b/drivers/hv/hv_kvp.c
index d9060502b07..ed50e9e83c6 100644
--- a/drivers/hv/hv_kvp.c
+++ b/drivers/hv/hv_kvp.c
@@ -256,6 +256,8 @@ static int process_ob_ipinfo(void *in_msg, void *out_msg, int op)
out->kvp_ip_val.dhcp_enabled =
in->body.kvp_ip_val.dhcp_enabled;
+ out->kvp_ip_val.addr_family =
+ in->body.kvp_ip_val.addr_family;
}
return 0;