|
@@ -1494,8 +1494,8 @@ static int netvsc_netdev_event(struct notifier_block *this,
|
|
|
{
|
|
|
struct net_device *event_dev = netdev_notifier_info_to_dev(ptr);
|
|
|
|
|
|
- /* Avoid Vlan dev with same MAC registering as VF */
|
|
|
- if (event_dev->priv_flags & IFF_802_1Q_VLAN)
|
|
|
+ /* Avoid Vlan, Bonding dev with same MAC registering as VF */
|
|
|
+ if (event_dev->priv_flags & (IFF_802_1Q_VLAN | IFF_BONDING))
|
|
|
return NOTIFY_DONE;
|
|
|
|
|
|
switch (event) {
|