summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2017-05-18 07:08:46 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2017-05-18 07:08:46 +0000
commit0fa1c0241b2e2aee5991c242ced52139edd081d6 (patch)
treecb33fb01f29a8b10c7dea5e7f6a8639f36cf73c7 /sys/dev/ic
parent759d7a530ec4abbaa0343a71d209a313cb44f4e0 (diff)
Do not panic if we find ourself on the sleep queue while being SONPROC.
If the rwlock passed to rwsleep(9) is contented, the CPU will call wakeup() between sleep_setup() and sleep_finish(). At this moment curproc is on the sleep queue but marked as SONPROC. Avoid panicing in this case. Problem reported by sthen@ ok kettenis@, visa@
Diffstat (limited to 'sys/dev/ic')
0 files changed, 0 insertions, 0 deletions