version 1.1.1.1, 2020/06/03 09:46:45
|
version 1.1.1.2, 2021/03/17 00:20:09
|
Line 573 METHOD(child_rekey_t, collide, void,
|
Line 573 METHOD(child_rekey_t, collide, void,
|
METHOD(task_t, migrate, void, |
METHOD(task_t, migrate, void, |
private_child_rekey_t *this, ike_sa_t *ike_sa) |
private_child_rekey_t *this, ike_sa_t *ike_sa) |
{ |
{ |
if (this->child_create) | /* only migrate the currently active task */ |
{ | |
this->child_create->task.migrate(&this->child_create->task, ike_sa); | |
} | |
if (this->child_delete) |
if (this->child_delete) |
{ |
{ |
this->child_delete->task.migrate(&this->child_delete->task, ike_sa); |
this->child_delete->task.migrate(&this->child_delete->task, ike_sa); |
|
} |
|
else if (this->child_create) |
|
{ |
|
this->child_create->task.migrate(&this->child_create->task, ike_sa); |
} |
} |
DESTROY_IF(this->collision); |
DESTROY_IF(this->collision); |
|
|