Hi Zoran,

Reviewed and tested the patch.
Ack from me.

BR,

Hung Nguyen - DEK Technologies


--------------------------------------------------------------------------------
From: Zoran Milinkovic [email protected]
Sent: Wednesday, June 14, 2017 4:33PM
To: Mahesh Valla
    [email protected]
Cc: Opensaf-devel
    [email protected]
Subject: [devel] [PATCH 1/1] imm: fix counting timeouts for old critical CCBs 
[#2495]


The patch fix counting timeouts for old critical CCBs
---
 src/imm/immnd/ImmModel.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/imm/immnd/ImmModel.cc b/src/imm/immnd/ImmModel.cc
index 25f8621..d76142e 100644
--- a/src/imm/immnd/ImmModel.cc
+++ b/src/imm/immnd/ImmModel.cc
@@ -14240,7 +14240,7 @@ void ImmModel::getOldCriticalCcbs(IdVector& cv, 
SaUint32T* pbeConnPtr,
       }
if ((ccb->mPbeRestartId == 0) &&
-          osaf_timer_is_expired_sec(&now, &ccb->mWaitStartTime,
+          !osaf_timer_is_expired_sec(&now, &ccb->mWaitStartTime,
                                     (DEFAULT_TIMEOUT_SEC + addSecs))) {
         timespec elapsed;
         osaf_timespec_subtract(&now, &ccb->mWaitStartTime, &elapsed);


------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to