Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1506604

Re: [PATCH] net: skip genenerating uevents for network namespaces that are exiting

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH] net: skip genenerating uevents for network namespaces that are exiting
Date 2016-10-22 23:10 +0200
Message-ID <svbId-aV-7@gated-at.bofh.it> (permalink)
References <suy49-7Wf-31@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Andrei Vagin <avagin@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);"

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] net: skip genenerating uevents for network namespaces that are exiting Andrei Vagin <avagin@openvz.org> - 2016-10-21 04:50 +0200
  Re: [PATCH] net: skip genenerating uevents for network namespaces  that are exiting Cong Wang <xiyou.wangcong@gmail.com> - 2016-10-21 05:20 +0200
    Re: [PATCH] net: skip genenerating uevents for network namespaces  that are exiting Andrey Vagin <avagin@openvz.org> - 2016-10-21 07:30 +0200
      Re: [PATCH] net: skip genenerating uevents for network namespaces  that are exiting Andrey Vagin <avagin@openvz.org> - 2016-10-22 09:40 +0200
        Re: [PATCH] net: skip genenerating uevents for network namespaces  that are exiting Cong Wang <xiyou.wangcong@gmail.com> - 2016-10-24 19:20 +0200
  Re: [PATCH] net: skip genenerating uevents for network namespaces  that are exiting David Miller <davem@davemloft.net> - 2016-10-22 23:10 +0200

csiph-web