From: "Denis V. Lunev" <den@openvz.org>
To: David Miller <davem@davemloft.net>
Cc: Daniel Lezcano <dlezcano@fr.ibm.com>,
netdev <netdev@vger.kernel.org>,
Linux Containers <containers@lists.osdl.org>,
devel@openvz.org
Subject: [PATCH 0/3 net-2.6.25] call FIB rule->action in the correct namespace
Date: Thu, 17 Jan 2008 13:08:51 +0300 [thread overview]
Message-ID: <478F2933.1000007@openvz.org> (raw)
FIB rule->action should operate in the same namespace as fib_lookup.
This is definitely missed right now.
There are two ways to implement this: pass struct net into another rules
API call (2 levels) or place netns into rule struct directly. The second
approach seems better as the code will grow less.
Additionally, the patchset cleanups struct net from
fib_rules_register/unregister to have network namespace context at the
time of default rules creation.
Signed-off-by: Denis V. Lunev <den@openvz.org>
next reply other threads:[~2008-01-17 10:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-17 10:08 Denis V. Lunev [this message]
2008-01-17 10:09 ` [PATCH 1/3 net-2.6.25] Add netns to fib_rules_ops Denis V. Lunev
2008-01-17 10:09 ` [PATCH 2/3 net-2.6.25] [NETNS] FIB rules API cleanup Denis V. Lunev
2008-01-17 10:09 ` [PATCH 3/3 net-2.6.25] Process FIB rule action in the context of the namespace Denis V. Lunev
2008-01-17 10:41 ` [PATCH 0/3 net-2.6.25] call FIB rule->action in the correct namespace Daniel Lezcano
2008-01-21 0:47 ` David Miller
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=478F2933.1000007@openvz.org \
--to=den@openvz.org \
--cc=containers@lists.osdl.org \
--cc=davem@davemloft.net \
--cc=devel@openvz.org \
--cc=dlezcano@fr.ibm.com \
--cc=netdev@vger.kernel.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).