Always queue a new passive task when receiving an IKEv1 INFORMATIONAL
authorMartin Willi <martin@revosec.ch>
Wed, 21 Dec 2011 13:38:36 +0000 (14:38 +0100)
committerMartin Willi <martin@revosec.ch>
Tue, 20 Mar 2012 16:31:30 +0000 (17:31 +0100)
src/libcharon/sa/ikev1/task_manager_v1.c

index da889be..2274752 100644 (file)
@@ -655,7 +655,8 @@ static status_t process_request(private_task_manager_t *this,
        task_t *task = NULL;
        bool send_response = FALSE;
 
-       if (this->passive_tasks->get_count(this->passive_tasks) == 0)
+       if (message->get_exchange_type(message) == INFORMATIONAL_V1 ||
+               this->passive_tasks->get_count(this->passive_tasks) == 0)
        {       /* create tasks depending on request type, if not already some queued */
                switch (message->get_exchange_type(message))
                {