Hi Hung,

Reviewed the patch,
Ack from me.

Thanks,
Zoran

-----Original Message-----
From: Hung Duc Nguyen 
Sent: den 6 oktober 2016 10:43
To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; 
reddy.neelaka...@oracle.com
Cc: opensaf-devel@lists.sourceforge.net
Subject: [PATCH 1 of 1] imm: Also do not send ccb abort reply to clients if the 
CCBs are in EMPTY state [#2010]

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


Also do not send ccb abort reply to clients if the CCBs are in EMPTY state.

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
@@ -6155,7 +6155,8 @@ ImmModel::ccbAbort(SaUint32T ccbId, Conn
     }
 
     /* Only send response when ccb continuation is not purged */
-    if (!ccb->mPurged && ccb->mState != IMM_CCB_READY && ccb->mState != 
IMM_CCB_VALIDATED) {
+    if (!ccb->mPurged && ccb->mState != IMM_CCB_EMPTY
+            && ccb->mState != IMM_CCB_READY && ccb->mState != 
IMM_CCB_VALIDATED) {
         clVector.push_back(ccb->mOriginatingConn);
         *nodeId = ccb->mOriginatingNode;
     }

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to