fmd does not pass the EE to opensaf_reboot when attempting to reset the peer.
The legacy code passed 0 to fm_mds_async_send. The new code passes
NCSMDS_SCOPE_NONE, but doesn't update how bcast_scope is used.
Change fm_mds_async_send to check bcast_scope. If it is not NCSMDS_SCOPE_NONE,
then use it. Otherwise, use the MDS dest.
---
src/fm/fmd/fm_mds.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/fm/fmd/fm_mds.cc b/src/fm/fmd/fm_mds.cc
index 60db5dab1..c5b3581ee 100644
--- a/src/fm/fmd/fm_mds.cc
+++ b/src/fm/fmd/fm_mds.cc
@@ -763,7 +763,7 @@ uint32_t fm_mds_async_send(FM_CB *fm_cb, NCSCONTEXT msg,
NCSMDS_SVC_ID svc_id,
memset(&(info.info.svc_send.info.snd.i_to_dest), 0, sizeof(MDS_DEST));
- if (bcast_scope) {
+ if (bcast_scope != NCSMDS_SCOPE_NONE) {
info.info.svc_send.info.bcast.i_bcast_scope = bcast_scope;
} else {
info.info.svc_send.info.snd.i_to_dest = i_to_dest;
--
2.13.6
------------------------------------------------------------------------------
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