[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071101.004307.129816044.davem@davemloft.net>
Date: Thu, 01 Nov 2007 00:43:07 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: xemul@...nvz.org
Cc: netdev@...r.kernel.org, ebiederm@...ssion.com, devel@...nvz.org
Subject: Re: [PATCH 1/5][NETNS] Make the init/exit hooks checks outside the
loop
From: Pavel Emelyanov <xemul@...nvz.org>
Date: Wed, 31 Oct 2007 22:23:35 +0300
> When the new pernet something (subsys, device or operations) is
> being registered, the init callback is to be called for each
> namespace, that currently exitst in the system. During the
> unregister, the same is to be done with the exit callback.
>
> However, not every pernet something has both calls, but the
> check for the appropriate pointer to be not NULL is performed
> inside the for_each_net() loop.
>
> This is (at least) strange, so tune this.
>
> Signed-off-by: Pavel Emelyanov <xemul@...nvz.org>
Applied.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists