[Cluster-devel] cluster/cman/daemon commands.c

lhh at sourceware.org lhh at sourceware.org
Mon Nov 26 17:03:00 UTC 2007


CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL5
Changes by:	lhh at sourceware.org	2007-11-26 17:03:00

Modified files:
	cman/daemon    : commands.c 

Log message:
	Ancillary patch to fix another case; bz #327721

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/daemon/commands.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.55.2.14&r2=1.55.2.15

--- cluster/cman/daemon/commands.c	2007/11/20 09:21:51	1.55.2.14
+++ cluster/cman/daemon/commands.c	2007/11/26 17:02:59	1.55.2.15
@@ -2021,6 +2021,7 @@
 
 	case NODESTATE_LEAVING:
 		node->state = NODESTATE_DEAD;
+		memset(&node->port_bits, 0, sizeof(node->port_bits));
 		cluster_members--;
 
 		if ((node->leave_reason & 0xF) & CLUSTER_LEAVEFLAG_REMOVED) 




More information about the Cluster-devel mailing list