Re: [PATCH] net: skip genenerating uevents for network namespaces that are exiting
From: Andrey Vagin
Date: Fri Oct 21 2016 - 01:25:31 EST
On Thu, Oct 20, 2016 at 8:10 PM, Cong Wang <xiyou.wangcong@xxxxxxxxx> wrote:
> On Thu, Oct 20, 2016 at 7:46 PM, Andrei Vagin <avagin@xxxxxxxxxx> wrote:
>> No one can see these events, because a network namespace can not be
>> destroyed, if it has sockets.
>>
>
> Are you sure? kobject_uevent_env() seems sending uevents to all
> network namespaces.
kobj_bcast_filter() checks that a kobject namespace is equal to a
socket namespace.
> _______________________________________________
> Containers mailing list
> Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
> https://lists.linuxfoundation.org/mailman/listinfo/containers