]> err.no Git - linux-2.6/commit
[NETNS]: Add netns parameter to fib_rules_(un)register.
authorDenis V. Lunev <den@openvz.org>
Thu, 10 Jan 2008 11:17:29 +0000 (03:17 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:01:21 +0000 (15:01 -0800)
commitf8c26b8d589867aed8251db2935f8aa03aa68717
treea96938be9494e60365d10c652cb3e7c9d3dcee18
parent41a76906b3225997036efd88cbaae69d60b1e947
[NETNS]: Add netns parameter to fib_rules_(un)register.

The patch extends the different fib rules API in order to pass the
network namespace pointer. That will allow to access the different
tables from a namespace relative object. As usual, the pointer to the
init_net variable is passed as parameter so we don't break the
network.

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/fib_rules.h
net/core/fib_rules.c
net/decnet/dn_rules.c
net/ipv4/fib_rules.c
net/ipv6/fib6_rules.c