]> err.no Git - linux-2.6/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)
commit5fd30ee7c48bf7f9cd16ab44c8a09fa4a57cc21d
treeeb5fc97bcf41f7f1e9dd9d7c312e13c85c1610d0
parent868d13ac811746e28e4c806f2b1bd8575796f9af
[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