From 42bbb3f68552b297ce6c6ac52da1b7e7ad77c997 Mon Sep 17 00:00:00 2001 From: Filip Tehlar Date: Mon, 8 Feb 2021 07:06:34 +0000 Subject: ikev2: fix rekey against strongSwan When strongSwan rekeys it sends create child sa request first and then delete request for the old child sa (or vice versa depending on configuration) as opposed to sending just a single create child sa with rekey notify message. Type: fix Change-Id: I1fa55a607ca623cd3a6d887436207153c6f6bbf6 Signed-off-by: Filip Tehlar --- src/plugins/ikev2/ikev2_priv.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/plugins/ikev2/ikev2_priv.h') diff --git a/src/plugins/ikev2/ikev2_priv.h b/src/plugins/ikev2/ikev2_priv.h index 799c64372ac..95c4df4b987 100644 --- a/src/plugins/ikev2/ikev2_priv.h +++ b/src/plugins/ikev2/ikev2_priv.h @@ -421,6 +421,8 @@ typedef struct /* pending rekeyings */ ikev2_rekey_t *rekey; + ikev2_rekey_t *new_child; + /* packet data */ u8 *last_sa_init_req_packet_data; u8 *last_sa_init_res_packet_data; -- cgit 1.2.3-korg