Re: [PATCH][NETNS] Cleanup list walking in setup_net and cleanup_net

2007-09-18 Thread David Miller
From: Pavel Emelyanov <[EMAIL PROTECTED]> 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 r

[PATCH][NETNS] Cleanup list walking in setup_net and cleanup_net

2007-09-18 Thread Pavel Emelyanov
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