2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 06:34:11 +08:00
linux-next/drivers/net/team
Danny Kukawka 7ce5d22219 net: use eth_hw_addr_random() and reset addr_assign_type
Use eth_hw_addr_random() instead of calling random_ether_addr()
to set addr_assign_type correctly to NET_ADDR_RANDOM.

Reset the state to NET_ADDR_PERM as soon as the MAC get
changed via .ndo_set_mac_address.

v2: adapt to renamed eth_hw_addr_random()

Signed-off-by: Danny Kukawka <danny.kukawka@bisect.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-02-15 15:34:17 -05:00
..
Kconfig net: introduce ethernet teaming device 2011-11-13 16:10:10 -05:00
Makefile net: introduce ethernet teaming device 2011-11-13 16:10:10 -05:00
team_mode_activebackup.c net: treewide use of RCU_INIT_POINTER 2011-11-23 18:48:19 -05:00
team_mode_roundrobin.c net: introduce ethernet teaming device 2011-11-13 16:10:10 -05:00
team.c net: use eth_hw_addr_random() and reset addr_assign_type 2012-02-15 15:34:17 -05:00