From: K. Y. Srinivasan Date: Wed, 5 Sep 2012 00:54:13 +0000 (-0700) Subject: Drivers: hv: kvp: Copy the address family information X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a500e0e73514ee2b838e439d3eb0750dda1da20f;p=linux-beck.git 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 Reviewed-by: Haiyang Zhang Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/hv/hv_kvp.c b/drivers/hv/hv_kvp.c index d9060502b073..ed50e9e83c61 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;