Ack from me.
Tested the patch.

Best regards,
Zoran

-----Original Message-----
From: Anders Bjornerstedt [mailto:[email protected]] 
Sent: Friday, July 10, 2015 4:06 PM
To: [email protected]
Cc: [email protected]
Subject: [devel] [PATCH 1 of 1] IMM: Internal abort of active but idle CCB can 
cause invalid OM-handle [#1412]

 osaf/services/saf/immsv/immnd/ImmModel.cc |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)


Correction done to ImmModel::ccbApply for correctly handling an attempt
to apply a CCB that is already aborted.

diff --git a/osaf/services/saf/immsv/immnd/ImmModel.cc 
b/osaf/services/saf/immsv/immnd/ImmModel.cc
--- a/osaf/services/saf/immsv/immnd/ImmModel.cc
+++ b/osaf/services/saf/immsv/immnd/ImmModel.cc
@@ -5006,8 +5006,7 @@ ImmModel::ccbApply(SaUint32T ccbId,
                     }
                     goto done;
                }
-
-            } else {
+            } else if(ccb->mState != IMM_CCB_ABORTED) {
                 LOG_NO("Ccb <%u> not in correct state (%u) for Apply ignoring 
request",
                     ccb->mId, ccb->mState);
                 /* This includes state IMM_CCB_VALIDATING which means explicit 
validation

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to