From: David Miller <davem@davemloft.net>
To: xemul@openvz.org
Cc: ebiederm@xmission.com, netdev@vger.kernel.org, devel@openvz.org
Subject: Re: [PATCH][NETNS] Cleanup list walking in setup_net and cleanup_net
Date: Tue, 18 Sep 2007 13:21:07 -0700 (PDT) [thread overview]
Message-ID: <20070918.132107.04054310.davem@davemloft.net> (raw)
In-Reply-To: <46EF871D.8050900@openvz.org>
From: Pavel Emelyanov <xemul@openvz.org>
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 remove one variable from the stack :) The same thing is for the
> cleanup_net() - the existing list_for_each_entry_reverse() is used.
>
> Minor, but the code looks nicer.
>
> Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
> Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Applied, thanks Pavel.
prev parent reply other threads:[~2007-09-18 20:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-18 8:06 [PATCH][NETNS] Cleanup list walking in setup_net and cleanup_net Pavel Emelyanov
2007-09-18 20:21 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070918.132107.04054310.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=devel@openvz.org \
--cc=ebiederm@xmission.com \
--cc=netdev@vger.kernel.org \
--cc=xemul@openvz.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).