Hi Nagu ack (review only)
Thanks On 4/08/2016 3:20 PM, nagendr...@oracle.com wrote: > osaf/services/saf/amf/amfnd/susm.cc | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > > > During component failover recovery (NPI SU), Amfnd > attempt to send SUSI resp to Amfd though there is > no SUSI assignment is undergoing. > NPI SU terminating state is not a reflective of > SUSI assignment rather it can be during recovery > phases also. > > diff --git a/osaf/services/saf/amf/amfnd/susm.cc > b/osaf/services/saf/amf/amfnd/susm.cc > --- a/osaf/services/saf/amf/amfnd/susm.cc > +++ b/osaf/services/saf/amf/amfnd/susm.cc > @@ -1832,7 +1832,9 @@ uint32_t avnd_su_pres_st_chng_prc(AVND_C > rc = avnd_di_oper_send(cb, su, > SA_AMF_COMPONENT_FAILOVER); > > /* si assignment/removal failed.. inform AvD */ > - rc = avnd_di_susi_resp_send(cb, su, > m_AVND_SU_IS_ALL_SI(su) ? 0 : si); > + /* Send response to Amfd only when there is a pending > assignment. */ > + if (m_AVND_SU_IS_ASSIGN_PEND(su)) > + rc = avnd_di_susi_resp_send(cb, su, > m_AVND_SU_IS_ALL_SI(su) ? 0 : si); > } > > /* instantiating -> term-failed */ ------------------------------------------------------------------------------ _______________________________________________ Opensaf-devel mailing list Opensaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-devel