cluster: STABLE3 - Ancillary patch to fix another case; bz #327721

Lon Hohberger lon@fedoraproject.org
Fri Mar 6 15:15:00 GMT 2009


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=f1d8657897d4c70f75fbc15a2b7ca34b0f7a27ca
Commit:        f1d8657897d4c70f75fbc15a2b7ca34b0f7a27ca
Parent:        388895fe49419bd1baf96dccc9a3c60010371df3
Author:        Lon Hohberger <lhh@redhat.com>
AuthorDate:    Mon Nov 26 17:02:59 2007 +0000
Committer:     Lon Hohberger <lhh@redhat.com>
CommitterDate: Fri Mar 6 10:13:05 2009 -0500

Ancillary patch to fix another case; bz #327721

---
 cman/daemon/commands.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/cman/daemon/commands.c b/cman/daemon/commands.c
index 0d7e838..3c1d893 100644
--- a/cman/daemon/commands.c
+++ b/cman/daemon/commands.c
@@ -2189,6 +2189,7 @@ void del_ais_node(int nodeid)
 
 	case NODESTATE_LEAVING:
 		node->state = NODESTATE_DEAD;
+		memset(&node->port_bits, 0, sizeof(node->port_bits));
 		cluster_members--;
 
 		P_MEMB("del_ais_node %s, leave_reason=%x\n", node->name, node->leave_reason);



More information about the Cluster-cvs mailing list