old child_sa gets deleted after rekeying
rekeying almost complete, but: IKE_SA get in an invalid state when both initiate rekeying at the same time,
This commit is contained in:
@@ -47,13 +47,18 @@ struct create_child_sa_requested_t {
|
||||
/**
|
||||
* @brief Constructor of class create_child_sa_requested_t
|
||||
*
|
||||
* If this CREATE_CHILD_SA message is to rekey a CHILD_SA,
|
||||
* the child_sa with the specified reqid gets deleted after a new
|
||||
* one is set up.
|
||||
*
|
||||
* @param ike_sa assigned ike_sa
|
||||
* @param child_sa newly created child sa to complete
|
||||
* @param nonce nonce sent at initialization
|
||||
* @param reqid reqid, when rekeying a child SA.
|
||||
* @return created create_child_sa_requested_t object
|
||||
*
|
||||
* @ingroup states
|
||||
*/
|
||||
create_child_sa_requested_t *create_child_sa_requested_create(protected_ike_sa_t *ike_sa, child_sa_t *child_sa, chunk_t nonce_i);
|
||||
create_child_sa_requested_t *create_child_sa_requested_create(protected_ike_sa_t *ike_sa, child_sa_t *child_sa, chunk_t nonce_i, u_int32_t reqid);
|
||||
|
||||
#endif /*CREATE_CHILD_SA_REQEUSTED_H_*/
|
||||
|
||||
Reference in New Issue
Block a user