Do not query CHILD_SA during delete if they already expired
[strongswan.git] / src / libcharon / sa / task_manager.h
index 5602069..b49c9a9 100644 (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.