Drivers: hv: kvp: Copy the address family information
authorK. Y. Srinivasan <kys@microsoft.com>
Wed, 5 Sep 2012 00:54:13 +0000 (17:54 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Sep 2012 19:12:38 +0000 (12:12 -0700)
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>
drivers/hv/hv_kvp.c

index d9060502b073ac5c6b21f119228e937a8b653cfe..ed50e9e83c61a8ec8690c757876a0300096f59d4 100644 (file)
@@ -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;
This page took 0.028983 seconds and 5 git commands to generate.