diff options
author | Tobias Brunner <tobias@strongswan.org> | 2010-08-10 17:36:38 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2010-09-02 19:04:23 +0200 |
commit | 03ee9623f36b77ebf5afc23a3930cdf5c1f613cf (patch) | |
tree | c95c57db29f7396cadbe2f0b66896c6815e6eaa4 /src/pluto/kernel_pfkey.c | |
parent | f6697eadb90a132431e82682e1af48f3314fcf27 (diff) | |
download | strongswan-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.c | 13 |
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 */ |