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

[Cluster-devel] cluster/cman-kernel/src cnxman.c



CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL4
Changes by:	pcaulfield sourceware org	2007-03-30 08:50:50

Modified files:
	cman-kernel/src: cnxman.c 

Log message:
	ack header flags need to be byteswapped or things go horribly wrong
	on BE machines.
	
	bz#234410

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman-kernel/src/cnxman.c.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.42.2.28&r2=1.42.2.29

--- cluster/cman-kernel/src/Attic/cnxman.c	2007/02/27 10:37:14	1.42.2.28
+++ cluster/cman-kernel/src/Attic/cnxman.c	2007/03/30 07:50:49	1.42.2.29
@@ -2732,7 +2732,7 @@
 	ackmsg.header.tgtport = 0;	/* Protocol port */
 	ackmsg.header.srcport = 0;
 	ackmsg.header.seq = 0;
-	ackmsg.header.flags = MSG_NOACK;
+	ackmsg.header.flags = cpu_to_le32(MSG_NOACK);
 	ackmsg.header.cluster = cpu_to_le16(cluster_id);
 	ackmsg.header.srcid = us ? cpu_to_le32(us->node_id) : 0;
 	ackmsg.header.ack = seq; /* already in LE order */


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