Subash Abhinov Kasiviswanathan a84874631c core: Change the address randomization API
eth_hw_addr_random doesn't seem to be generating truly random IIDs.
Use eth_random_addr instead as it is explicitly assigning random
IIDs to the device permanent address.

Before this change-

16: rmnet_data0@rmnet_ipa0: <UP,LOWER_UP> mtu 1500 qdisc mq state UNKNOWN group default qlen 1000
    inet6 fe80::200:ff:fe00:0/64 scope link
17: rmnet_data1@rmnet_ipa0: <UP,LOWER_UP> mtu 1500 qdisc mq state UNKNOWN group default qlen 1000
    inet6 fe80::200:ff:fe00:0/64 scope link

After this change-

16: rmnet_data0@rmnet_ipa0: <UP,LOWER_UP> mtu 1500 qdisc mq state UNKNOWN group default qlen 1000
    inet6 fe80::d8f9:85ff:fee4:4444/64 scope link
17: rmnet_data1@rmnet_ipa0: <UP,LOWER_UP> mtu 1500 qdisc mq state UNKNOWN group default qlen 1000
    inet6 fe80::1856:3aff:fe22:e519/64 scope link

CRs-Fixed: 3361274
Change-Id: I79d37725c332a289682ac26e751bc97dc7ce1ebb
Signed-off-by: Subash Abhinov Kasiviswanathan <quic_subashab@quicinc.com>
2022-12-15 00:48:00 -07:00
Descripción
No description provided
226 MiB
Languages
C 98.7%
C++ 0.9%
Makefile 0.3%
Starlark 0.1%