|
@@ -1209,6 +1209,13 @@ static int macvlan_device_event(struct notifier_block *unused,
|
|
|
case NETDEV_PRE_TYPE_CHANGE:
|
|
|
/* Forbid underlaying device to change its type. */
|
|
|
return NOTIFY_BAD;
|
|
|
+
|
|
|
+ case NETDEV_NOTIFY_PEERS:
|
|
|
+ case NETDEV_BONDING_FAILOVER:
|
|
|
+ case NETDEV_RESEND_IGMP:
|
|
|
+ /* Propagate to all vlans */
|
|
|
+ list_for_each_entry(vlan, &port->vlans, list)
|
|
|
+ call_netdevice_notifiers(event, vlan->dev);
|
|
|
}
|
|
|
return NOTIFY_DONE;
|
|
|
}
|