[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20070918.132107.04054310.davem@davemloft.net>
Date: Tue, 18 Sep 2007 13:21:07 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: xemul@...nvz.org
Cc: ebiederm@...ssion.com, netdev@...r.kernel.org, devel@...nvz.org
Subject: Re: [PATCH][NETNS] Cleanup list walking in setup_net and
cleanup_net
From: Pavel Emelyanov <xemul@...nvz.org>
Date: Tue, 18 Sep 2007 12:06:53 +0400
> I proposed introducing a list_for_each_entry_continue_reverse macro
> to be used in setup_net() when unrolling the failed ->init callback.
>
> Here is the macro and some more cleanup in the setup_net() itself
> to remove one variable from the stack :) The same thing is for the
> cleanup_net() - the existing list_for_each_entry_reverse() is used.
>
> Minor, but the code looks nicer.
>
> Signed-off-by: Pavel Emelyanov <xemul@...nvz.org>
> Acked-by: "Eric W. Biederman" <ebiederm@...ssion.com>
Applied, thanks Pavel.
-
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