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;
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to