diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2019-07-17 18:52:47 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2019-07-17 18:52:47 +0000 |
commit | 2b5caba4f1317bfab009f283e381f68e92512bf1 (patch) | |
tree | bc1462562503a2b730a66cddbe40d48c0d1831fd /usr.sbin/pkg_add/OpenBSD/AddCreateDelete.pm | |
parent | 792217b888fa083f6fca5413f3c07688a8ad0f48 (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