Move the deep check back into the loop. There are ways that even though
authorclaudio <claudio@openbsd.org>
Wed, 29 Jun 2022 10:48:22 +0000 (10:48 +0000)
committerclaudio <claudio@openbsd.org>
Wed, 29 Jun 2022 10:48:22 +0000 (10:48 +0000)
commit1690b19512cc7ab8935725d8e595faf52fc662aa
tree13727db75a26641f648433d87e57ab7a5c98f0de
parente8d478410d952a15b6cd9f12f73bf7613afcb90e
Move the deep check back into the loop. There are ways that even though
we're deep the code will SSTOP and sleep and then on wakeup we need to
recheck the deep conditions.
Issue analyzed and OK by mpi@

Reported-by: syzbot+f7634539e73108238c2a@syzkaller.appspotmail.com
sys/kern/kern_sig.c