svn commit: r302997 - head/sys/kern

Gleb Smirnoff glebius at FreeBSD.org
Mon Jul 18 09:26:07 UTC 2016


Author: glebius
Date: Mon Jul 18 09:26:06 2016
New Revision: 302997
URL: https://svnweb.freebsd.org/changeset/base/302997

Log:
  Redo the r302894: the very new value for a non-scheduled callout is -1.
  This was recently added in r290664.
  
  Noticed by:	hselasky
  PR:		210884

Modified:
  head/sys/kern/kern_timeout.c

Modified: head/sys/kern/kern_timeout.c
==============================================================================
--- head/sys/kern/kern_timeout.c	Mon Jul 18 09:19:45 2016	(r302996)
+++ head/sys/kern/kern_timeout.c	Mon Jul 18 09:26:06 2016	(r302997)
@@ -1381,7 +1381,7 @@ again:
 		CTR3(KTR_CALLOUT, "failed to stop %p func %p arg %p",
 		    c, c->c_func, c->c_arg);
 		CC_UNLOCK(cc);
-		return (0);
+		return (-1);
 	}
 
 	c->c_iflags &= ~CALLOUT_PENDING;


More information about the svn-src-all mailing list