netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3 net-2.6.25] call FIB rule->action in the correct namespace
@ 2008-01-17 10:08 Denis V. Lunev
  2008-01-17 10:09 ` [PATCH 1/3 net-2.6.25] Add netns to fib_rules_ops Denis V. Lunev
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Denis V. Lunev @ 2008-01-17 10:08 UTC (permalink / raw)
  To: David Miller; +Cc: Daniel Lezcano, netdev, Linux Containers, devel

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>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-01-21  0:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-17 10:08 [PATCH 0/3 net-2.6.25] call FIB rule->action in the correct namespace Denis V. Lunev
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

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).