aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-01-20 19:46:01 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:08:13 -0500
commit035923833369e4da5d3c4ad0700bc7c367a0fa37 (patch)
tree2a7e3105e70a543ff2611ffbe7612b4c93ce3bd5 /net/ipv6
parent853f4b505578ea3a1d9c2f5fb4ca58658ea15780 (diff)
[FIB]: Add netns to fib_rules_ops.
The backward link from FIB rules operations to the network namespace will allow to simplify the API a bit. Signed-off-by: Denis V. Lunev <den@openvz.org> Acked-by: Daniel Lezcano <dlezcano@fr.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/fib6_rules.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/fib6_rules.c b/net/ipv6/fib6_rules.c
index 76437a1fcab0..ead5ab2da9a2 100644
--- a/net/ipv6/fib6_rules.c
+++ b/net/ipv6/fib6_rules.c
@@ -249,6 +249,7 @@ static struct fib_rules_ops fib6_rules_ops = {
249 .policy = fib6_rule_policy, 249 .policy = fib6_rule_policy,
250 .rules_list = LIST_HEAD_INIT(fib6_rules_ops.rules_list), 250 .rules_list = LIST_HEAD_INIT(fib6_rules_ops.rules_list),
251 .owner = THIS_MODULE, 251 .owner = THIS_MODULE,
252 .fro_net = &init_net,
252}; 253};
253 254
254static int __init fib6_default_rules_init(void) 255static int __init fib6_default_rules_init(void)