Ack.

Thanks
-Nagu

> -----Original Message-----
> From: Praveen Malviya
> Sent: 25 March 2015 10:15
> To: hans.nordeb...@ericsson.com; Nagendra Kumar
> Cc: opensaf-devel@lists.sourceforge.net
> Subject: [PATCH 1 of 1] amfd: do not send multiple notificaitons for node
> admin state [#1284]
> 
>  osaf/services/saf/amf/amfd/node.cc |  2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> 
> diff --git a/osaf/services/saf/amf/amfd/node.cc
> b/osaf/services/saf/amf/amfd/node.cc
> --- a/osaf/services/saf/amf/amfd/node.cc
> +++ b/osaf/services/saf/amf/amfd/node.cc
> @@ -692,6 +692,8 @@ void node_admin_state_set(AVD_AVND *node
>  {
>       SaAmfAdminStateT old_state  = node->saAmfNodeAdminState;
> 
> +     if (old_state == admin_state)
> +             return;
>       osafassert(admin_state <= SA_AMF_ADMIN_SHUTTING_DOWN);
>       if (0 != node->clm_pend_inv) {
>               /* Clm operations going on, skip notifications and rt updates
> for node change. We are using node state

------------------------------------------------------------------------------
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
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to