See subject

Patch attached.

After running this patch I can get corosync to enter and stay in
operational state on a single node on solaris.

Regards
-steve
Index: totemnet.c
===================================================================
--- totemnet.c	(revision 2223)
+++ totemnet.c	(working copy)
@@ -949,8 +949,12 @@
 	msg_ucast.msg_control = 0;
 	msg_ucast.msg_controllen = 0;
 	msg_ucast.msg_flags = 0;
+#else
+	msg_ucast.msg_accrights = NULL;
+	msg_ucast.msg_accrightslen = 0;
 #endif
 
+
 	/*
 	 * Transmit multicast message
 	 * An error here is recovered by totemsrp
@@ -1025,6 +1029,9 @@
 	msg_mcast.msg_control = 0;
 	msg_mcast.msg_controllen = 0;
 	msg_mcast.msg_flags = 0;
+#else
+	msg_mcast.msg_accrights = NULL;
+	msg_mcast.msg_accrightslen = 0;
 #endif
 
 	/*
@@ -1096,6 +1103,9 @@
 	msg_mcast.msg_control = 0;
 	msg_mcast.msg_controllen = 0;
 	msg_mcast.msg_flags = 0;
+#else
+	msg_mcast.msg_accrights = NULL;
+	msg_mcast.msg_accrightslen = 0;
 #endif
 
 	/*
@@ -1178,6 +1188,9 @@
 	msg_recv.msg_control = 0;
 	msg_recv.msg_controllen = 0;
 	msg_recv.msg_flags = 0;
+#else
+	msg_recv.msg_accrights = NULL;
+	msg_recv.msg_accrightslen = 0;
 #endif
 
 	bytes_received = recvmsg (fd, &msg_recv, MSG_NOSIGNAL | MSG_DONTWAIT);
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to