svn commit: r291565 - head/sys/net

Garrett Cooper ngie at FreeBSD.org
Tue Dec 1 05:59:55 UTC 2015


Author: ngie
Date: Tue Dec  1 05:59:53 2015
New Revision: 291565
URL: https://svnweb.freebsd.org/changeset/base/291565

Log:
  Fix LINT-NOIP kernels after r291467
  
  rn is only used if INET or INET6 are defined
  
  Sponsored by: EMC / Isilon Storage Division

Modified:
  head/sys/net/route.c

Modified: head/sys/net/route.c
==============================================================================
--- head/sys/net/route.c	Tue Dec  1 05:29:30 2015	(r291564)
+++ head/sys/net/route.c	Tue Dec  1 05:59:53 2015	(r291565)
@@ -1369,7 +1369,9 @@ rt_mpath_unlink(struct radix_node_head *
 static struct rtentry *
 rt_flowtable_check_route(struct radix_node_head *rnh, struct rt_addrinfo *info)
 {
+#if defined(INET6) || defined(INET)
 	struct radix_node *rn;
+#endif
 	struct rtentry *rt0;
 
 	rt0 = NULL;


More information about the svn-src-all mailing list