summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_hibernate.c
diff options
context:
space:
mode:
authormlarkin <mlarkin@openbsd.org>2014-04-25 14:37:06 +0000
committermlarkin <mlarkin@openbsd.org>2014-04-25 14:37:06 +0000
commitec527653e3c18ef7989803fe457b94c85d781ed3 (patch)
tree9055125b66775f81f307d33f714da84ffe51772e /sys/kern/subr_hibernate.c
parentFix a minor optimization i broke in bsd.lv rev. 1.163 on August 20, 2010: (diff)
downloadwireguard-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