diff options
author | Martin Willi <martin@revosec.ch> | 2012-05-21 14:17:09 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2012-05-21 14:17:09 +0200 |
commit | 7ce504e182c1ce1cde7c80e7dfe2a70b3e5dbed4 (patch) | |
tree | 47c862183f50aaeb19340c1fe7130c58c1c9f7bd /src/libcharon/sa/task.h | |
parent | cbc1a20ffe69fae5ae7fc216873c7ee7d737e103 (diff) | |
download | strongswan-7ce504e182c1ce1cde7c80e7dfe2a70b3e5dbed4.tar.bz2 strongswan-7ce504e182c1ce1cde7c80e7dfe2a70b3e5dbed4.tar.xz |
Flush task queues explicitly, not implicitly if task returns ALREADY_DONE
Diffstat (limited to 'src/libcharon/sa/task.h')
-rw-r--r-- | src/libcharon/sa/task.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcharon/sa/task.h b/src/libcharon/sa/task.h index 8bf9217be..c37221a77 100644 --- a/src/libcharon/sa/task.h +++ b/src/libcharon/sa/task.h @@ -131,7 +131,7 @@ struct task_t { * - FAILED if a critical error occurred * - DESTROY_ME if IKE_SA has been properly deleted * - NEED_MORE if another call to build/process needed - * - ALREADY_DONE to cancel all active or passive tasks + * - ALREADY_DONE to cancel task processing * - SUCCESS if task completed */ status_t (*build) (task_t *this, message_t *message); @@ -144,7 +144,7 @@ struct task_t { * - FAILED if a critical error occurred * - DESTROY_ME if IKE_SA has been properly deleted * - NEED_MORE if another call to build/process needed - * - ALREADY_DONE to cancel all active or passive tasks + * - ALREADY_DONE to cancel task processing * - SUCCESS if task completed */ status_t (*process) (task_t *this, message_t *message); |