svn commit: r185441 - head/sys/kern
Bjoern A. Zeeb
bz at FreeBSD.org
Sat Nov 29 08:17:39 PST 2008
Author: bz
Date: Sat Nov 29 16:17:39 2008
New Revision: 185441
URL: http://svn.freebsd.org/changeset/base/185441
Log:
Unbreak the no-networks (no INET/6) build that I broke with
the commit in r185435.
Pointyhat: no, but I could need a ski cap for the winter
Modified:
head/sys/kern/kern_jail.c
Modified: head/sys/kern/kern_jail.c
==============================================================================
--- head/sys/kern/kern_jail.c Sat Nov 29 14:58:58 2008 (r185440)
+++ head/sys/kern/kern_jail.c Sat Nov 29 16:17:39 2008 (r185441)
@@ -532,11 +532,13 @@ kern_jail(struct thread *td, struct jail
sx_xlock(&allprison_lock);
/* Make sure we cannot run into problems with ambiguous bind()ings. */
+#if defined(INET) || defined(INET6)
error = prison_check_conflicting_ips(pr);
if (error) {
sx_xunlock(&allprison_lock);
goto e_dropcpuset;
}
+#endif
/* Determine next pr_id and add prison to allprison list. */
tryprid = lastprid + 1;
More information about the svn-src-head
mailing list