]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bridge tests: Ensure that bridges in different jails get different MAC addresses
authorKristof Provost <kp@FreeBSD.org>
Sun, 19 Apr 2020 16:30:49 +0000 (16:30 +0000)
committerKristof Provost <kp@FreeBSD.org>
Tue, 2 Mar 2021 13:03:06 +0000 (14:03 +0100)
commite1132953649454ed7ae40e156c23de20d6a3827c
tree000a2e318bc78946868fc8efbeb0ab8159a65edf
parente180cc2fb9c5d7eb2d198470f54f7dbebbf4bf7c
bridge tests: Ensure that bridges in different jails get different MAC addresses

We used to have a problem where bridges created in different vnet jails
would end up having the same mac address. This is now fixed by
including the jail name as a seed for the mac address generation, but we
should verify that it doesn't regress.

(cherry picked from commit 2885ae0c3ca3ea93e1f227ecb3003db2e94f4129)
tests/sys/net/if_bridge_test.sh