Files
moby/daemon/libnetwork/resolver.go
Sabith Saheb 3e66221169 libnetwork: use math/rand/v2 for DNS address shuffling
Replace the custom seeded RNG and mutex with the top-level rand.Shuffle
from math/rand/v2, which is properly seeded and safe for concurrent use,
and inline the shuffle at its only call site in handleIPQuery.

Signed-off-by: Sabith Saheb <shabi7204192361@gmail.com>
2026-07-08 11:52:58 +05:30

20 KiB