device: when activating without cloned-mac-address, set the permanent one
authorLubomir Rintel <lkundrak@v3.sk>
Fri, 26 Feb 2016 16:15:10 +0000 (17:15 +0100)
committerLubomir Rintel <lkundrak@v3.sk>
Fri, 26 Feb 2016 16:35:21 +0000 (17:35 +0100)
commitf541a17270f3ff69d2ea7a3262d15dc63abb74b7
tree33a66f5028889ff74a3be61e63e36646fabf6933
parentec35542cd52596826ce312648574b0e7cbe69cec
device: when activating without cloned-mac-address, set the permanent one

Don't rely on what's already on the device. It could be that the MAC address
set on the device is not meaningful -- the NM crashed while two devices were
teamed together and now they have the same hardware address and now it's
impossible to bond them with mode=5.
src/devices/nm-device-ethernet.c
src/devices/nm-device-macvlan.c
src/devices/nm-device-tun.c
src/devices/nm-device-vlan.c
src/devices/nm-device-vxlan.c
src/devices/nm-device.c
src/devices/wifi/nm-device-wifi.c