[NETNS]: Refactor fib initialization so it can handle multiple namespaces.
authorDenis V. Lunev <den@openvz.org>
Thu, 10 Jan 2008 11:22:17 +0000 (03:22 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:01:25 +0000 (15:01 -0800)
commit7b1a74fdbb9ec38a9780620fae25519fde4b21ee
treea8405f9a3e30cf6750d60aff16e555d4901ce57f
parentdbb50165b512f6c9b7aae10af73ae5b6d811f4d0
[NETNS]: Refactor fib initialization so it can handle multiple namespaces.

This patch makes the fib to be initialized as a subsystem for the
network namespaces. The code does not handle several namespaces yet,
so in case of a creation of a network namespace, the
creation/initialization will not occur.

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/ip_fib.h
net/ipv4/af_inet.c
net/ipv4/fib_frontend.c
net/ipv4/fib_hash.c
net/ipv4/fib_rules.c
net/ipv4/fib_trie.c