svn commit: r313560 - head/sys/net

Gleb Smirnoff glebius at FreeBSD.org
Fri Feb 10 17:37:06 UTC 2017


Author: glebius
Date: Fri Feb 10 17:37:04 2017
New Revision: 313560
URL: https://svnweb.freebsd.org/changeset/base/313560

Log:
  Last consumer of _WANT_RTENTRY gone.

Modified:
  head/sys/net/route.h

Modified: head/sys/net/route.h
==============================================================================
--- head/sys/net/route.h	Fri Feb 10 17:34:48 2017	(r313559)
+++ head/sys/net/route.h	Fri Feb 10 17:37:04 2017	(r313560)
@@ -135,7 +135,7 @@ VNET_DECLARE(u_int, rt_add_addr_allfibs)
 #endif
 #endif
 
-#if defined(_KERNEL) || defined(_WANT_RTENTRY)
+#if defined(_KERNEL)
 struct rtentry {
 	struct	radix_node rt_nodes[2];	/* tree glue, and other values */
 	/*
@@ -159,7 +159,7 @@ struct rtentry {
 	struct mtx	rt_mtx;		/* mutex for routing entry */
 	struct rtentry	*rt_chain;	/* pointer to next rtentry to delete */
 };
-#endif /* _KERNEL || _WANT_RTENTRY */
+#endif /* _KERNEL */
 
 #define	RTF_UP		0x1		/* route usable */
 #define	RTF_GATEWAY	0x2		/* destination is a gateway */


More information about the svn-src-all mailing list