On Fri, 14 Sep 2007 11:39:32 +0400 Pavel Emelyanov <xemul@xxxxxxxxxx> wrote: > 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@xxxxxxxxxx> Maybe it is time to just eliminate the init hook from the API. It has very few users, and there is no reason the setup needed could be done before or after registering in most cases. _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers