OpenVZ Forum


Home » Mailing lists » Devel » [PATCH][NETNS] Use list_for_each_entry_continue_reverse in setup_net
Re: [PATCH][NETNS] Use list_for_each_entry_continue_reverse in setup_net [message #20290 is a reply to message #20253] Fri, 14 September 2007 17:33 Go to previous message
ebiederm is currently offline  ebiederm
Messages: 1354
Registered: February 2006
Senior Member
Pavel Emelyanov <xemul@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@openvz.org>

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

Eric
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Network Namespace status
Next Topic: [NETNS45][PATCH 1/1] Fix network namespace unshare support.
Goto Forum:
  


Current Time: Fri Aug 22 02:05:05 GMT 2025

Total time taken to generate the page: 0.07271 seconds