|
@@ -4411,7 +4411,7 @@ static int __netdev_upper_dev_link(struct net_device *dev,
|
|
|
else
|
|
|
list_add_tail_rcu(&upper->list, &dev->upper_dev_list);
|
|
|
dev_hold(upper_dev);
|
|
|
-
|
|
|
+ call_netdevice_notifiers(NETDEV_CHANGEUPPER, dev);
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
@@ -4471,6 +4471,7 @@ void netdev_upper_dev_unlink(struct net_device *dev,
|
|
|
list_del_rcu(&upper->list);
|
|
|
dev_put(upper_dev);
|
|
|
kfree_rcu(upper, rcu);
|
|
|
+ call_netdevice_notifiers(NETDEV_CHANGEUPPER, dev);
|
|
|
}
|
|
|
EXPORT_SYMBOL(netdev_upper_dev_unlink);
|
|
|
|