diff options
author | 2014-04-25 14:37:06 +0000 | |
---|---|---|
committer | 2014-04-25 14:37:06 +0000 | |
commit | ec527653e3c18ef7989803fe457b94c85d781ed3 (patch) | |
tree | 9055125b66775f81f307d33f714da84ffe51772e /sys/kern/subr_hibernate.c | |
parent | Fix a minor optimization i broke in bsd.lv rev. 1.163 on August 20, 2010: (diff) | |
download | wireguard-openbsd-ec527653e3c18ef7989803fe457b94c85d781ed3.tar.xz wireguard-openbsd-ec527653e3c18ef7989803fe457b94c85d781ed3.zip |
Defer the free of the hibernate structures until later, when it is safe to
do so.
Freeing the hibernate structures too early leads to inadvertent calls into
splx when we aren't ready for them yet. Found when trapping splx calls in
the resume path.
discussed with deraadt@ at m2k14
Diffstat (limited to 'sys/kern/subr_hibernate.c')
0 files changed, 0 insertions, 0 deletions