aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/macvlan.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/macvlan.c')
-rw-r--r--drivers/net/macvlan.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c
index f494da82c33f..ce7c9268c740 100644
--- a/drivers/net/macvlan.c
+++ b/drivers/net/macvlan.c
@@ -426,6 +426,9 @@ static void macvlan_set_mac_lists(struct net_device *dev)
426 netdev_for_each_mc_addr(ha, dev) { 426 netdev_for_each_mc_addr(ha, dev) {
427 __set_bit(mc_hash(ha->addr), filter); 427 __set_bit(mc_hash(ha->addr), filter);
428 } 428 }
429
430 __set_bit(mc_hash(dev->broadcast), filter);
431
429 bitmap_copy(vlan->mc_filter, filter, MACVLAN_MC_FILTER_SZ); 432 bitmap_copy(vlan->mc_filter, filter, MACVLAN_MC_FILTER_SZ);
430 } 433 }
431 dev_uc_sync(vlan->lowerdev, dev); 434 dev_uc_sync(vlan->lowerdev, dev);