diff options
author | 2000-09-07 18:39:13 +0000 | |
---|---|---|
committer | 2000-09-07 18:39:13 +0000 | |
commit | ef0c9b98afe6d5373bd64d2c17d50f61c994e5d2 (patch) | |
tree | 97354f806aa3939787f6b3921ff30126b3cb3b45 /sys/kern/kern_subr.c | |
parent | cleaner (diff) | |
download | wireguard-openbsd-ef0c9b98afe6d5373bd64d2c17d50f61c994e5d2.tar.xz wireguard-openbsd-ef0c9b98afe6d5373bd64d2c17d50f61c994e5d2.zip |
Run powerhooks at splhigh.
Diffstat (limited to 'sys/kern/kern_subr.c')
-rw-r--r-- | sys/kern/kern_subr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_subr.c b/sys/kern/kern_subr.c index a561d9bd3a9..d9f735b6109 100644 --- a/sys/kern/kern_subr.c +++ b/sys/kern/kern_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_subr.c,v 1.13 2000/09/05 21:47:14 aaron Exp $ */ +/* $OpenBSD: kern_subr.c,v 1.14 2000/09/07 18:39:13 art Exp $ */ /* $NetBSD: kern_subr.c,v 1.15 1996/04/09 17:21:56 ragge Exp $ */ /* @@ -317,7 +317,7 @@ dopowerhooks(why) struct powerhook_desc *dp; int s; - s = splimp(); + s = splhigh(); for (dp = LIST_FIRST(&powerhook_list); dp != NULL; dp = LIST_NEXT(dp, sfd_list)) { |