PERFORCE change 100559 for review

Paolo Pisati piso at FreeBSD.org
Tue Jul 4 12:54:42 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=100559

Change 100559 by piso at piso_newluxor on 2006/07/04 12:54:39

	Axe the last vestiges of 4.x support in libalias modules.

Affected files ...

.. //depot/projects/soc2005/libalias/sys/netinet/libalias/alias_mod.c#7 edit
.. //depot/projects/soc2005/libalias/sys/netinet/libalias/alias_mod.h#6 edit

Differences ...

==== //depot/projects/soc2005/libalias/sys/netinet/libalias/alias_mod.c#7 (text+ko) ====


==== //depot/projects/soc2005/libalias/sys/netinet/libalias/alias_mod.h#6 (text+ko) ====

@@ -75,7 +75,8 @@
 	struct proto_handler *next;
 };
 
-#if __FreeBSD_version >= 500000
+#ifdef _KERNEL
+// XXX - convert it to use queue(3) and rwlock(9)
 struct chain {
 	void            *chain;	
 	struct mtx	mtx;		/* Lock guarding list. */
@@ -84,9 +85,9 @@
 	struct cv	cv;
 };
 #else
+// XXX - convert it to use queue(3)
 struct chain {
 	void            *chain;	
-	int             spl;
 };
 #endif
 


More information about the p4-projects mailing list