Do not query CHILD_SA during delete if they already expired

This commit is contained in:
Martin Willi
2012-03-20 17:31:31 +01:00
parent 07202a2bf1
commit 3a925f74ab
18 changed files with 97 additions and 44 deletions
+2 -1
View File
@@ -177,9 +177,10 @@ struct task_manager_t {
*
* @param protocol CHILD_SA protocol, AH|ESP
* @param spi CHILD_SA SPI to rekey
* @param expired TRUE if SA already expired
*/
void (*queue_child_delete)(task_manager_t *this, protocol_id_t protocol,
u_int32_t spi);
u_int32_t spi, bool expired);
/**
* Queue liveness checking tasks.