diff options
author | adrian <adrian@FreeBSD.org> | 2012-12-09 01:08:44 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2012-12-09 01:08:44 +0000 |
commit | 2961cca7115ab05fda3222d813523d134ac42adc (patch) | |
tree | b7d46cb6f76cbd5d501674190a80825717b64e7e /sys/kern/kern_switch.c | |
parent | 02094caa2c2fce94821d84bde50b9373b47f97e7 (diff) | |
download | FreeBSD-src-2961cca7115ab05fda3222d813523d134ac42adc.zip FreeBSD-src-2961cca7115ab05fda3222d813523d134ac42adc.tar.gz |
Don't panic if the stageq here is empty; just fall through with NULL
pointers and leave the stage queue flush routine to just do nothing
(since both head and tail here will be NULL.)
This should quieten the "stageq empty" panic where the stageq itself
is empty, but it won't fix the second KASSERT() here "staging queue empty"
as that's likely a different underlying problem.
PR: kern/174283
Diffstat (limited to 'sys/kern/kern_switch.c')
0 files changed, 0 insertions, 0 deletions