summaryrefslogtreecommitdiff
path: root/etc/rc.d
diff options
context:
space:
mode:
authorTobias Heider <tobhe@cvs.openbsd.org>2022-10-10 11:33:56 +0000
committerTobias Heider <tobhe@cvs.openbsd.org>2022-10-10 11:33:56 +0000
commitf662978d935496bb9860f15fc0989fa5b7e3b91f (patch)
treee8b8fe00c19dd213268572958be23c289c104e08 /etc/rc.d
parent99139d51c5dbab938eec024a589b046b91a23c9a (diff)
Move enabling the policy refcounting from policy_ref() to config_free_policy().
In config_free_policy() the refcounting is unchanged and each SA linked to the policy will trigger a call to policy_ref() and increase the references as before the change. This allows unconditional calls to policy_ref() and policy_unref() and the callers no longer have to check if IKED_POLICY_REFCNT is set. From and ok markus@
Diffstat (limited to 'etc/rc.d')
0 files changed, 0 insertions, 0 deletions