]> git.baikalelectronics.ru Git - kernel.git/commit
[NETNS]: Namespacing in the generic fib rules code.
authorDenis V. Lunev <den@openvz.org>
Thu, 10 Jan 2008 11:20:28 +0000 (03:20 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:01:23 +0000 (15:01 -0800)
commitd3e2ff80482e267f45c51c848b663052504444a7
treeeb5fc97bcf41f7f1e9dd9d7c312e13c85c1610d0
parenta08a181ded076625c7b7f9dfe6b72b6c54f4b157
[NETNS]: Namespacing in the generic fib rules code.

Move static rules_ops & rules_mod_lock to the struct net, register the
pernet subsys to init them and enjoy the fact that the core rules
infrastructure works in the namespace.

Real IPv4 fib rules virtualization requires fib tables support in the
namespace and will be done seriously later in the patchset.

Acked-by: Benjamin Thery <benjamin.thery@bull.net>
Acked-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/net_namespace.h
net/core/fib_rules.c