Kyle Evans 2d741f33bd kern: ether_gen_addr: randomize on default hostuuid, too
Currently, this will still hash the default (all zero) hostuuid and
potentially arrive at a MAC address that has a high chance of collision
if another interface of the same name appears in the same broadcast
domain on another host without a hostuuid, e.g., some virtual machine
setups.

Instead of using the default hostuuid, just treat it as a failure and
generate a random LA unicast MAC address.

Reviewed by:	bz, gbe, imp, kbowling, kp
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D29788
2021-06-01 22:59:21 -05:00
..
2017-03-23 05:37:04 +00:00
2020-10-09 19:12:44 +00:00
2017-03-23 05:41:56 +00:00
2020-09-17 20:25:31 +00:00
2021-01-27 18:18:17 +01:00
2020-05-11 22:48:00 +00:00
2017-03-23 05:44:18 +00:00
2020-09-23 22:49:27 +00:00
2020-09-23 22:49:27 +00:00
2020-09-23 22:49:27 +00:00
2020-12-19 10:18:21 +00:00
2019-06-21 02:49:36 +00:00
2020-12-17 21:02:58 +00:00
2021-04-29 12:26:37 -04:00
2020-12-03 21:38:00 +00:00
2021-05-28 16:29:18 -07:00
2021-06-01 22:59:10 -05:00
2020-02-02 04:53:27 +00:00
2017-04-27 16:05:12 +00:00
2018-07-31 19:08:24 +00:00
2020-10-09 19:12:44 +00:00
2020-09-17 21:08:11 +00:00
2019-12-03 15:48:28 +00:00
2019-12-03 15:48:28 +00:00
2020-10-22 18:00:07 +00:00
2016-09-03 20:38:13 +00:00
2020-05-09 15:56:02 +00:00
2018-12-19 20:25:58 +00:00
2020-08-13 20:48:14 +00:00
2021-04-12 09:32:30 -04:00
2021-04-12 11:42:21 -03:00
2020-10-28 21:09:56 +00:00
2020-09-05 20:22:02 +00:00
2020-09-17 21:08:11 +00:00
2021-05-05 12:32:13 -06:00
2020-09-17 21:08:11 +00:00
2017-12-28 08:22:26 +00:00
2017-10-11 21:53:50 +00:00
2020-12-11 19:45:40 +00:00
2021-03-01 01:38:33 +02:00
2021-02-11 14:02:43 +00:00
2020-08-07 23:06:40 +00:00
2021-01-27 18:20:04 +01:00
2018-08-08 18:50:42 +00:00
2021-03-01 01:38:33 +02:00
2021-03-01 01:38:33 +02:00