Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753751AbcJUFZM (ORCPT ); Fri, 21 Oct 2016 01:25:12 -0400 Received: from mail-it0-f42.google.com ([209.85.214.42]:37323 "EHLO mail-it0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750949AbcJUFZK (ORCPT ); Fri, 21 Oct 2016 01:25:10 -0400 MIME-Version: 1.0 In-Reply-To: References: <1477017986-18889-1-git-send-email-avagin@openvz.org> From: Andrey Vagin Date: Thu, 20 Oct 2016 22:25:08 -0700 X-Google-Sender-Auth: 76mHCktlaFGDM8ynSgMjLUlPKII Message-ID: Subject: Re: [PATCH] net: skip genenerating uevents for network namespaces that are exiting To: Cong Wang Cc: LKML , Linux Containers , Linux Kernel Network Developers , "David S. Miller" , "Eric W . Biederman" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 616 Lines: 17 On Thu, Oct 20, 2016 at 8:10 PM, Cong Wang wrote: > On Thu, Oct 20, 2016 at 7:46 PM, Andrei Vagin 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@lists.linux-foundation.org > https://lists.linuxfoundation.org/mailman/listinfo/containers