From 917dd390846304a11ce07d69365cb81ad31daac3 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Tue, 16 Dec 2014 09:48:23 +0000 Subject: [PATCH] Add missed break. CID: 1258586 Sponsored by: The FreeBSD Foundation MFC after: 4 days --- sys/kern/kern_thread.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c index 0ede6551fda2..2d0b0d278a56 100644 --- a/sys/kern/kern_thread.c +++ b/sys/kern/kern_thread.c @@ -618,6 +618,7 @@ weed_inhib(int mode, struct thread *td2, struct proc *p) wakeup_swapper |= thread_unsuspend_one(td2, p); if (TD_ON_SLEEPQ(td2) && (td2->td_flags & TDF_SINTR) != 0) wakeup_swapper |= sleepq_abort(td2, ERESTART); + break; case SINGLE_ALLPROC: /* * ALLPROC suspend tries to avoid spurious EINTR for