Commit Graph

2 Commits

Author SHA1 Message Date
Red Bear OS d818ce4957 virtio-netd: replace unimplemented!() with random MAC fallback
When the VIRTIO device doesn't report a MAC in config space,
generate a random locally-administered unicast MAC instead of
panicking with unimplemented!(). This matches Linux 7.1
drivers/net/virtio_net.c virtnet_probe() behavior.

Reads /scheme/rand for random bytes; falls back to a fixed
MAC if the random source is unavailable. MAC is forced to
unicast + locally administered (bit 0=0, bit 1=1).
2026-07-09 12:24:19 +03:00
Red Bear OS dd08b76a39 Red Bear OS base baseline from 0.1.0 pre-patched archive 2026-06-27 09:21:43 +03:00