From a655f5c09c2ba180b7d393dbdfc8b8057293d9ab Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Tue, 5 Sep 2006 14:07:25 +0000 Subject: reuse reqid when a ROUTED child_sa gets INSTALLED fixed a bug in retransmission code added support for the "keyingtries" ipsec.conf parameter added support for the "dpddelay" ipsec.conf parameter done some work for "dpdaction" behavior some other cleanups and fixes --- src/charon/threads/kernel_interface.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/charon/threads/kernel_interface.c') diff --git a/src/charon/threads/kernel_interface.c b/src/charon/threads/kernel_interface.c index b09070390..796cd04a8 100644 --- a/src/charon/threads/kernel_interface.c +++ b/src/charon/threads/kernel_interface.c @@ -1009,11 +1009,8 @@ static status_t add_policy(private_kernel_interface_t *this, if (!update) { current->refcount++; - iterator->destroy(iterator); - pthread_mutex_unlock(&this->pol_mutex); this->logger->log(this->logger, CONTROL|LEVEL1, "policy already exists, increasing refcount"); - return SUCCESS; } policy = current; found = TRUE; -- cgit v1.2.3