diff options
author | 2019-07-17 18:52:46 +0000 | |
---|---|---|
committer | 2019-07-17 18:52:46 +0000 | |
commit | 65b1288d3709a6df1980f19c6f7310d4ebc7af6b (patch) | |
tree | 9f215e4e43949aea877baef29d0358871d656ad3 /lib/libc | |
parent | Add BUFSIZE define. (diff) | |
download | wireguard-openbsd-65b1288d3709a6df1980f19c6f7310d4ebc7af6b.tar.xz wireguard-openbsd-65b1288d3709a6df1980f19c6f7310d4ebc7af6b.zip |
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 'lib/libc')
0 files changed, 0 insertions, 0 deletions