]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r339211:
authorjamie <jamie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 17 Oct 2018 16:17:56 +0000 (16:17 +0000)
committerjamie <jamie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 17 Oct 2018 16:17:56 +0000 (16:17 +0000)
commitb73b6170e535893d27543b0849833b20b2d3790d
tree17f8543a3aff4f6d0f98a3117ac2f969dbdb8adb
parentece11cbfc210d1847c8d1b652a721b721568357b
MFC r339211:

  Fix the test prohibiting jails from sharing IP addresses.

  It's not supposed to be legal for two jails to contain the same IP address,
  unless both jails contain only that one address.  This is the behavior
  documented in jail(8), and is there to prevent confusion when multiple
  jails are listening on IADDR_ANY.

  VIMAGE jails (now the default for GENERIC kernels) test this correctly,
  but non-VIMAGE jails have been performing an incomplete test when nested
  jails are used.

git-svn-id: svn://svn.freebsd.org/base/stable/10@339410 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/kern/kern_jail.c