Ack from me.
Not tested

/AndersBj 

-----Original Message-----
From: [email protected] [mailto:[email protected]] 
Sent: den 20 februari 2015 10:31
To: Anders Björnerstedt
Cc: [email protected]
Subject: [PATCH 1 of 1] imm: terminate the ccb when the client went down [#1255]

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


diff --git a/osaf/services/saf/immsv/immnd/immnd_evt.c 
b/osaf/services/saf/immsv/immnd/immnd_evt.c
--- a/osaf/services/saf/immsv/immnd/immnd_evt.c
+++ b/osaf/services/saf/immsv/immnd/immnd_evt.c
@@ -7382,7 +7382,7 @@ static void immnd_evt_proc_ccb_finalize(
                immnd_client_node_get(cb, clnt_hdl, &cl_node);
                if (cl_node == NULL || cl_node->mIsStale) {
                        LOG_WA("IMMND - Client went down so no response");
-                       return;
+                       goto done;
                }
 
                memset(&send_evt, '\0', sizeof(IMMSV_EVT)); @@ -7403,6 +7403,7 
@@ static void immnd_evt_proc_ccb_finalize(
                        LOG_WA("Failed to send response to agent/client over 
MDS");
                }
        }
+ done:
        err = immModel_ccbFinalize(cb, evt->info.ccbId);
        TRACE_LEAVE();
 }

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to