osaf/libs/agents/saf/imma/imma_proc.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
callbk_mbx can fail only when handle is finalized.If a NULL is returned by
m_NCS_IPC_RECEIVE then handle is considered as finalized and is a valid
case.so, SA_AIS_OK will be returned*/
diff --git a/osaf/libs/agents/saf/imma/imma_proc.c
b/osaf/libs/agents/saf/imma/imma_proc.c
--- a/osaf/libs/agents/saf/imma/imma_proc.c
+++ b/osaf/libs/agents/saf/imma/imma_proc.c
@@ -1758,7 +1758,11 @@ uint32_t imma_hdl_callbk_dispatch_block(
}
} else {
m_NCS_UNLOCK(&cb->cb_lock, NCS_LOCK_WRITE);
- return SA_AIS_ERR_LIBRARY;
+ /* callbk_mbx can fail only when handle is finalized
+ If a NULL is returned by m_NCS_IPC_RECEIVE then
handle is
+ considered as finalized and is a valid case.
+ so, SA_AIS_OK will be returned*/
+ return SA_AIS_OK;
}
callback = (IMMA_CALLBACK_INFO *)m_NCS_IPC_RECEIVE(callbk_mbx,
NULL);
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel