From: Andrei Vagin <ava...@openvz.org>
Date: Thu, 20 Oct 2016 19:46:26 -0700

> @@ -1525,6 +1530,9 @@ void netdev_unregister_kobject(struct net_device *ndev)
>  {
>       struct device *dev = &(ndev->dev);
>  
> +     if (!list_empty(&dev_net(ndev)->exit_list))
> +             dev->kobj.uevent_suppress = 1;
> +

Please use "dev_set_uevent_suppress(dev, 1);"

Reply via email to