diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2020-05-09 03:32:28 +0000 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2020-05-13 06:50:18 +0000 |
commit | 85af76af5c63c5fbe018a0765e252eea64efb0ea (patch) | |
tree | 3d40c4cbcf412baf2c47d61cda9d993621c91c3b /src/plugins/ikev2/ikev2.c | |
parent | 9a099b6e503659473cbdb8585f823c3c3d83f34e (diff) |
ikev2: fix removing of expired SAs
Type: fix
Change-Id: Idf9b0ffb4e3a0113bece80d1195192bdf46feb89
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'src/plugins/ikev2/ikev2.c')
-rw-r--r-- | src/plugins/ikev2/ikev2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/ikev2/ikev2.c b/src/plugins/ikev2/ikev2.c index bb620a86ddd..068ae7cee83 100644 --- a/src/plugins/ikev2/ikev2.c +++ b/src/plugins/ikev2/ikev2.c @@ -4054,7 +4054,6 @@ ikev2_mngr_process_fn (vlib_main_t * vm, vlib_node_runtime_t * rt, if (p) { ikev2_initiate_sa_init (vm, p->name); - continue; } } vec_foreach (c, sa->childs) @@ -4062,6 +4061,7 @@ ikev2_mngr_process_fn (vlib_main_t * vm, vlib_node_runtime_t * rt, hash_unset (tkm->sa_by_rspi, sa->rspi); pool_put (tkm->sas, sa); } + vec_free (to_be_deleted); } /* process ipsec sas */ |