summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
authorstsp <stsp@openbsd.org>2012-01-21 19:01:04 +0000
committerstsp <stsp@openbsd.org>2012-01-21 19:01:04 +0000
commit9c582f02401ac633eb722ae61ad70318a9dad698 (patch)
tree165c01ffe466cd087cf3569e572a9149f3b40a1a /sys/dev/softraid.c
parentWhen disklabels can't be read before attempting to mount root, make (diff)
downloadwireguard-openbsd-9c582f02401ac633eb722ae61ad70318a9dad698.tar.xz
wireguard-openbsd-9c582f02401ac633eb722ae61ad70318a9dad698.zip
Hold interrupts blocked while comparing a cached node's refcount to zero
and freeing the node. Just in case an interrupt happens to ref the node after the refcount was checked but before the node is freed. Tested by several as part of a larger diff.
Diffstat (limited to 'sys/dev/softraid.c')
0 files changed, 0 insertions, 0 deletions