ike-sa-manager: Rename checkout_new() to create_new()
We don't actually check that SA out (i.e. it's not registered with the
manager). That was originally different but had to be changed with
86993d6b90 to avoid that SAs created for rekeying don't block other
threads on the manager.
This commit is contained in:
@@ -1905,7 +1905,7 @@ static void trigger_mbb_reauth(private_task_manager_t *this)
|
||||
queued_task_t *queued;
|
||||
bool children = FALSE;
|
||||
|
||||
new = charon->ike_sa_manager->checkout_new(charon->ike_sa_manager,
|
||||
new = charon->ike_sa_manager->create_new(charon->ike_sa_manager,
|
||||
this->ike_sa->get_version(this->ike_sa), TRUE);
|
||||
if (!new)
|
||||
{ /* shouldn't happen */
|
||||
|
||||
Reference in New Issue
Block a user