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
This commit is contained in:
Bjoern A. Zeeb 2008-11-29 16:17:39 +00:00
parent 862e19d312
commit d465a41d3b

View File

@ -532,11 +532,13 @@ kern_jail(struct thread *td, struct jail *j)
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;