artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9c20fc
)
sigh. when returning ENOENT in the sysctl path, unlock on the way out.
author
dlg
<dlg@openbsd.org>
Tue, 12 Aug 2014 01:31:43 +0000
(
01:31
+0000)
committer
dlg
<dlg@openbsd.org>
Tue, 12 Aug 2014 01:31:43 +0000
(
01:31
+0000)
sys/kern/subr_pool.c
patch
|
blob
|
history
diff --git
a/sys/kern/subr_pool.c
b/sys/kern/subr_pool.c
index
e3fb051
..
567f581
100644
(file)
--- a/
sys/kern/subr_pool.c
+++ b/
sys/kern/subr_pool.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: subr_pool.c,v 1.14
4 2014/08/12 01:25:21
dlg Exp $ */
+/* $OpenBSD: subr_pool.c,v 1.14
5 2014/08/12 01:31:43
dlg Exp $ */
/* $NetBSD: subr_pool.c,v 1.61 2001/09/26 07:14:56 chs Exp $ */
/*-
@@
-1485,9
+1485,9
@@
sysctl_dopool(int *name, u_int namelen, char *oldp, size_t *oldlenp)
rv = sysctl_rdstruct(oldp, oldlenp, NULL, &pi, sizeof(pi));
}
+done:
splx(s);
-done:
return (rv);
}