summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/AddCreateDelete.pm
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2019-07-17 18:52:47 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2019-07-17 18:52:47 +0000
commit2b5caba4f1317bfab009f283e381f68e92512bf1 (patch)
treebc1462562503a2b730a66cddbe40d48c0d1831fd /usr.sbin/pkg_add/OpenBSD/AddCreateDelete.pm
parent792217b888fa083f6fca5413f3c07688a8ad0f48 (diff)
Convert struct pkpcb malloc(9) to pool_get(9). PCB for pfkey is
only used in process context, so pass PR_WAITOK to pool_init(9). The possible sleep in pool_put(9) should not hurt as pfkeyv2_detach() is only called by soclose(9). As both pr_attach() and pr_detach() are always called with kernel lock, PR_RWLOCK is not needed. OK mpi@
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/AddCreateDelete.pm')
0 files changed, 0 insertions, 0 deletions