aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/bonding')
-rw-r--r--drivers/net/bonding/bond_main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index cbe9e353d46a..c2aceaab0143 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -1490,6 +1490,10 @@ int bond_enslave(struct net_device *bond_dev, struct net_device *slave_dev)
1490 goto err_undo_flags; 1490 goto err_undo_flags;
1491 } 1491 }
1492 1492
1493 /* Flush unicast and multicast addresses */
1494 dev_unicast_flush(bond_dev);
1495 dev_addr_discard(bond_dev);
1496
1493 if (slave_dev->type != ARPHRD_ETHER) 1497 if (slave_dev->type != ARPHRD_ETHER)
1494 bond_setup_by_slave(bond_dev, slave_dev); 1498 bond_setup_by_slave(bond_dev, slave_dev);
1495 else 1499 else