|
@@ -1576,7 +1576,7 @@ int bond_enslave(struct net_device *bond_dev, struct net_device *slave_dev)
|
|
|
|
|
|
/* If this is the first slave, then we need to set the master's hardware
|
|
|
* address to be the same as the slave's. */
|
|
|
- if (bond->slave_cnt == 0)
|
|
|
+ if (is_zero_ether_addr(bond->dev->dev_addr))
|
|
|
memcpy(bond->dev->dev_addr, slave_dev->dev_addr,
|
|
|
slave_dev->addr_len);
|
|
|
|