linux_dsm_epyc7002/net/openvswitch
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
..
actions.c net: Add Open vSwitch kernel components. 2011-12-03 09:35:17 -08:00
datapath.c openvswitch: Fix multipart datapath dumps. 2012-01-17 23:56:19 -05:00
datapath.h net: remove version.h includes in net/openvswitch/ 2012-01-17 10:07:58 -05:00
dp_notify.c net: Add Open vSwitch kernel components. 2011-12-03 09:35:17 -08:00
flow.c net: kill duplicate included header 2012-01-17 10:31:12 -05:00
flow.h net: Add Open vSwitch kernel components. 2011-12-03 09:35:17 -08:00
Kconfig net: Add Open vSwitch kernel components. 2011-12-03 09:35:17 -08:00
Makefile net: Add Open vSwitch kernel components. 2011-12-03 09:35:17 -08:00
vport-internal_dev.c net: use eth_hw_addr_random() and reset addr_assign_type 2012-02-15 15:34:17 -05:00
vport-internal_dev.h net: Add Open vSwitch kernel components. 2011-12-03 09:35:17 -08:00
vport-netdev.c net: Add Open vSwitch kernel components. 2011-12-03 09:35:17 -08:00
vport-netdev.h net: Add Open vSwitch kernel components. 2011-12-03 09:35:17 -08:00
vport.c net: remove version.h includes in net/openvswitch/ 2012-01-17 10:07:58 -05:00
vport.h net: Add Open vSwitch kernel components. 2011-12-03 09:35:17 -08:00