svn commit: r301847 - stable/10/contrib/hyperv/tools

Sepherosa Ziehau sephe at FreeBSD.org
Mon Jun 13 02:54:59 UTC 2016


Author: sephe
Date: Mon Jun 13 02:54:58 2016
New Revision: 301847
URL: https://svnweb.freebsd.org/changeset/base/301847

Log:
  MFC 293653
  
  hyperv/kvp_daemon: Make poll(2) block indefinitely
  
  Submitted by:       Jun Su <junsu microsoft com>
  Reviewed by:        Dexuan Cui <decui microsoft com>, me, adrain
  Approved by:        adrian
  Sponsored by:       Microsoft OSTC
  Differential Revision:      https://reviews.freebsd.org/D4762

Modified:
  stable/10/contrib/hyperv/tools/hv_kvp_daemon.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/contrib/hyperv/tools/hv_kvp_daemon.c
==============================================================================
--- stable/10/contrib/hyperv/tools/hv_kvp_daemon.c	Mon Jun 13 01:33:02 2016	(r301846)
+++ stable/10/contrib/hyperv/tools/hv_kvp_daemon.c	Mon Jun 13 02:54:58 2016	(r301847)
@@ -1437,7 +1437,7 @@ main(int argc, char *argv[])
 
 
 	for (;;) {
-		r = poll (hv_kvp_poll_fd, 1, 100);
+		r = poll (hv_kvp_poll_fd, 1, INFTIM);
 
 		KVP_LOG(LOG_DEBUG, "poll returned r = %d, revent = 0x%x\n",
 		    r, hv_kvp_poll_fd[0].revents);


More information about the svn-src-all mailing list