Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Aug 2017 03:14:45 +0000 (UTC)
From:      Sepherosa Ziehau <sephe@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r322136 - stable/11/sys/dev/hyperv/utilities
Message-ID:  <201708070314.v773EjWX059693@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sephe
Date: Mon Aug  7 03:14:45 2017
New Revision: 322136
URL: https://svnweb.freebsd.org/changeset/base/322136

Log:
  MFC 321965
      hyperv/kvp: Use proper size macro for adapter id.
  
      Submitted by:   Christopher Ertl <Christopher.Ertl microsoft com>
      Sponsored by:   Microsoft

Modified:
  stable/11/sys/dev/hyperv/utilities/hv_kvp.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/hyperv/utilities/hv_kvp.c
==============================================================================
--- stable/11/sys/dev/hyperv/utilities/hv_kvp.c	Mon Aug  7 03:03:40 2017	(r322135)
+++ stable/11/sys/dev/hyperv/utilities/hv_kvp.c	Mon Aug  7 03:14:45 2017	(r322136)
@@ -253,7 +253,7 @@ hv_kvp_convert_utf8_ipinfo_to_utf16(struct hv_kvp_msg 
 	    UNUSED_FLAG,
 	    &err_dns);
 	utf8_to_utf16((uint16_t *)host_ip_msg->kvp_ip_val.adapter_id,
-	    MAX_IP_ADDR_SIZE,
+	    MAX_ADAPTER_ID_SIZE,
 	    (char *)umsg->body.kvp_ip_val.adapter_id,
 	    strlen((char *)umsg->body.kvp_ip_val.adapter_id),
 	    UNUSED_FLAG,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708070314.v773EjWX059693>