]> bbs.cooldavid.org Git - net-next-2.6.git/commit - net/ipv4/fib_frontend.c
[NETNS]: Add netns parameter to fib_get_table/fib_new_table.
authorDenis V. Lunev <den@openvz.org>
Thu, 10 Jan 2008 11:24:11 +0000 (03:24 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:01:27 +0000 (15:01 -0800)
commit8ad4942cd5bdad4143f7aa1d1bd4f7b2526c19c5
tree9fc1c79ae579e20063d577912ad4aeb1aef3ba6d
parent93456b6d7753def8760b423ac6b986eb9d5a4a95
[NETNS]: Add netns parameter to fib_get_table/fib_new_table.

This patch extends the fib_get_table and the fib_new_table functions
with the network namespace pointer. That will allow to access the
table relatively from the network namespace.

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