diff options
Diffstat (limited to 'drivers/net/bonding/bond_main.c')
-rw-r--r-- | drivers/net/bonding/bond_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c index 16dbf53e314b..bbb004354bbd 100644 --- a/drivers/net/bonding/bond_main.c +++ b/drivers/net/bonding/bond_main.c | |||
@@ -1961,7 +1961,7 @@ int bond_release(struct net_device *bond_dev, struct net_device *slave_dev) | |||
1961 | write_lock_bh(&bond->lock); | 1961 | write_lock_bh(&bond->lock); |
1962 | 1962 | ||
1963 | if (!bond->params.fail_over_mac) { | 1963 | if (!bond->params.fail_over_mac) { |
1964 | if (!compare_ether_addr(bond_dev->dev_addr, slave->perm_hwaddr) && | 1964 | if (ether_addr_equal(bond_dev->dev_addr, slave->perm_hwaddr) && |
1965 | bond->slave_cnt > 1) | 1965 | bond->slave_cnt > 1) |
1966 | pr_warning("%s: Warning: the permanent HWaddr of %s - %pM - is still in use by %s. Set the HWaddr of %s to a different address to avoid conflicts.\n", | 1966 | pr_warning("%s: Warning: the permanent HWaddr of %s - %pM - is still in use by %s. Set the HWaddr of %s to a different address to avoid conflicts.\n", |
1967 | bond_dev->name, slave_dev->name, | 1967 | bond_dev->name, slave_dev->name, |