Date: Sat, 29 Nov 2008 16:17:39 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r185441 - head/sys/kern Message-ID: <200811291617.mATGHdrp056138@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811291617.mATGHdrp056138>