Author: davidxu
Date: Mon Dec  1 01:54:55 2008
New Revision: 185502
URL: http://svn.freebsd.org/changeset/base/185502

Log:
  Revision 184199 had not been fully reverted, add missing piece.
  
  Reported by: phk

Modified:
  head/sys/kern/subr_sleepqueue.c

Modified: head/sys/kern/subr_sleepqueue.c
==============================================================================
--- head/sys/kern/subr_sleepqueue.c     Mon Dec  1 01:45:52 2008        
(r185501)
+++ head/sys/kern/subr_sleepqueue.c     Mon Dec  1 01:54:55 2008        
(r185502)
@@ -424,6 +424,10 @@ sleepq_catch_signals(void *wchan, int pr
        PROC_UNLOCK(p);
        thread_lock(td);
        PROC_SUNLOCK(p);
+       if (ret == 0) {
+               sleepq_switch(wchan, pri);
+               return (0);
+       }
        /*
         * There were pending signals and this thread is still
         * on the sleep queue, remove it from the sleep queue.
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to