[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	pcaulfield sourceware org	2007-11-20 09:02:10

Modified files:
	cman/daemon    : commands.c 

Log message:
	Clear out the ports opened list when a node goes down.
	Thanks, Lon.
	bz#327721

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/daemon/commands.c.diff?cvsroot=cluster&r1=1.74&r2=1.75

--- cluster/cman/daemon/commands.c	2007/11/05 15:15:53	1.74
+++ cluster/cman/daemon/commands.c	2007/11/20 09:02:10	1.75
@@ -2021,6 +2021,7 @@
 	switch (node->state) {
 	case NODESTATE_MEMBER:
 		node->state = NODESTATE_DEAD;
+		memset(&node->port_bits, 0, sizeof(node->port_bits));
 		cluster_members--;
 		recalculate_quorum(0, 0);
 		break;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]