[Linux-cluster] AF_ namespace conflict

Lennert Buytenhek buytenh at wantstofly.org
Sat Jun 26 18:42:39 UTC 2004


Hi,

cman defines AF_CLUSTER to be 31, but AF_BLUETOOTH (in-tree) is also
defined as 31, so cman doesn't load if bluetooth support is already
loaded.

30 seems to be still free.. perhaps that one should be reserved in mainline?


cheers,
Lennert


--- linux/include/linux/socket.h.orig	2004-06-26 20:40:47.876722136 +0200
+++ linux/include/linux/socket.h	2004-06-26 20:41:02.922710013 +0200
@@ -177,6 +177,7 @@
 #define AF_PPPOX	24	/* PPPoX sockets		*/
 #define AF_WANPIPE	25	/* Wanpipe API Sockets */
 #define AF_LLC		26	/* Linux LLC			*/
+#define AF_CLUSTER	30	/* GFS Cluster Manager		*/
 #define AF_BLUETOOTH	31	/* Bluetooth sockets 		*/
 #define AF_MAX		32	/* For now.. */
 




More information about the Linux-cluster mailing list