Skip to contentSkip to conversation

cluster/cman-kernel/src cnxman.c

Cluster-devel [email protected] 1 participant 1 message Apr 2, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL45
Changes by: pcaulfield at 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

cman-kernel/src/Attic/cnxman.c +1 -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 */