From mboxrd@z Thu Jan 1 00:00:00 1970 From: ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org (Eric W. Biederman) Subject: Re: [PATCH][NETNS] Use list_for_each_entry_continue_reverse in setup_net Date: Fri, 14 Sep 2007 11:33:00 -0600 Message-ID: References: <46EA3AB4.7060904@openvz.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: <46EA3AB4.7060904-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org> (Pavel Emelyanov's message of "Fri, 14 Sep 2007 11:39:32 +0400") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Pavel Emelyanov Cc: Linux Containers , Linux Netdev List List-Id: containers.vger.kernel.org Pavel Emelyanov writes: > 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 :) Minor, but the code > looks nicer. > > Signed-off-by: Pavel Emelyanov Acked-by: "Eric W. Biederman" Eric