diff options
author | Tobias Heider <tobhe@cvs.openbsd.org> | 2022-10-10 11:33:56 +0000 |
---|---|---|
committer | Tobias Heider <tobhe@cvs.openbsd.org> | 2022-10-10 11:33:56 +0000 |
commit | f662978d935496bb9860f15fc0989fa5b7e3b91f (patch) | |
tree | e8b8fe00c19dd213268572958be23c289c104e08 /usr.bin/skeyinfo | |
parent | 99139d51c5dbab938eec024a589b046b91a23c9a (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 'usr.bin/skeyinfo')
0 files changed, 0 insertions, 0 deletions