CVSROOT:        /cvs
Module name:    src
Changes by:     bl...@cvs.openbsd.org   2019/07/17 12:52:47

Modified files:
        sys/net        : pfkeyv2.c 

Log message:
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@

Reply via email to