aboutsummaryrefslogtreecommitdiffstats
path: root/src/pluto/kernel_pfkey.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2010-08-10 17:36:38 +0200
committerTobias Brunner <tobias@strongswan.org>2010-09-02 19:04:23 +0200
commit03ee9623f36b77ebf5afc23a3930cdf5c1f613cf (patch)
treec95c57db29f7396cadbe2f0b66896c6815e6eaa4 /src/pluto/kernel_pfkey.c
parentf6697eadb90a132431e82682e1af48f3314fcf27 (diff)
downloadstrongswan-03ee9623f36b77ebf5afc23a3930cdf5c1f613cf.tar.bz2
strongswan-03ee9623f36b77ebf5afc23a3930cdf5c1f613cf.tar.xz
pluto: Completely removed orphaned_holds.
Diffstat (limited to 'src/pluto/kernel_pfkey.c')
-rw-r--r--src/pluto/kernel_pfkey.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/pluto/kernel_pfkey.c b/src/pluto/kernel_pfkey.c
index 99ba4ff30..9c0dfd1be 100644
--- a/src/pluto/kernel_pfkey.c
+++ b/src/pluto/kernel_pfkey.c
@@ -447,19 +447,6 @@ pfkey_dequeue(void)
pfkey_iq_head = it->next;
free(it);
}
-
- /* Handle any orphaned holds, but only if no pfkey input is pending.
- * For each, we initiate Opportunistic.
- * note: we don't need to advance the pointer because
- * record_and_initiate_opportunistic will remove the current
- * record each time we call it.
- */
- while (orphaned_holds != NULL && !pfkey_input_ready())
- record_and_initiate_opportunistic(&orphaned_holds->ours
- , &orphaned_holds->his
- , orphaned_holds->transport_proto
- , "%hold found-pfkey");
-
}
/* asynchronous messages directly from PF_KEY socket */