[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: 	RHEL45
Changes by:	pcaulfield sourceware org	2007-04-02 09:03:13

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

Log message:
	Flags need to be byte-swapped
	bz#234410

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

--- 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/04/02 08:03:13	1.42.2.28.2.1
@@ -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]