mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
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:
parent
862e19d312
commit
d465a41d3b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=185441
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user