[Devel] Re: [PATCH][NETNS] Use list_for_each_entry_continue_reverse in setup_net

Eric W. Biederman ebiederm at xmission.com
Fri Sep 14 10:33:00 PDT 2007


Pavel Emelyanov <xemul at openvz.org> 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 <xemul at openvz.org>

Acked-by: "Eric W. Biederman" <ebiederm at xmission.com>

Eric




More information about the Devel mailing list