svn commit: r222503 - head/sys/netinet

Bjoern A. Zeeb bz at FreeBSD.org
Mon May 30 18:07:35 UTC 2011


Author: bz
Date: Mon May 30 18:07:35 2011
New Revision: 222503
URL: http://svn.freebsd.org/changeset/base/222503

Log:
  Unbreak NOINET kernels after r222488.
  
  Reviewed by:	rwatson
  Sponsored by:	The FreeBSD Foundation
  Sponsored by:	iXsystems!
  Pointy hat:	to myself for missing this during review?

Modified:
  head/sys/netinet/in_pcb.c

Modified: head/sys/netinet/in_pcb.c
==============================================================================
--- head/sys/netinet/in_pcb.c	Mon May 30 17:27:48 2011	(r222502)
+++ head/sys/netinet/in_pcb.c	Mon May 30 18:07:35 2011	(r222503)
@@ -127,13 +127,13 @@ static VNET_DEFINE(int, ipport_tcplastco
 
 #define	V_ipport_tcplastcount		VNET(ipport_tcplastcount)
 
+static void	in_pcbremlists(struct inpcb *inp);
+#ifdef INET
 static struct inpcb	*in_pcblookup_hash_locked(struct inpcbinfo *pcbinfo,
 			    struct in_addr faddr, u_int fport_arg,
 			    struct in_addr laddr, u_int lport_arg,
 			    int lookupflags, struct ifnet *ifp);
-static void	in_pcbremlists(struct inpcb *inp);
 
-#ifdef INET
 #define RANGECHK(var, min, max) \
 	if ((var) < (min)) { (var) = (min); } \
 	else if ((var) > (max)) { (var) = (max); }


More information about the svn-src-head mailing list