summaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorDenis V. Lunev2008-01-10 12:18:25 +0100
committerDavid S. Miller2008-01-29 00:01:22 +0100
commit868d13ac811746e28e4c806f2b1bd8575796f9af (patch)
tree9629052707e471597afd13771e23b31b3b11b539 /net/ipv6
parent[NETNS]: Add netns parameter to fib_rules_(un)register. (diff)
downloadkernel-qcow2-linux-868d13ac811746e28e4c806f2b1bd8575796f9af.tar.gz
kernel-qcow2-linux-868d13ac811746e28e4c806f2b1bd8575796f9af.tar.xz
kernel-qcow2-linux-868d13ac811746e28e4c806f2b1bd8575796f9af.zip
[NETNS]: Pass fib_rules_ops into default_pref method.
fib_rules_ops contains operations and the list of configured rules. ops will become per/namespace soon, so we need them to be known in the default_pref callback. 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>
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/fib6_rules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/fib6_rules.c b/net/ipv6/fib6_rules.c
index e4d7e5a08b40..76437a1fcab0 100644
--- a/net/ipv6/fib6_rules.c
+++ b/net/ipv6/fib6_rules.c
@@ -223,7 +223,7 @@ nla_put_failure:
return -ENOBUFS;
}
-static u32 fib6_rule_default_pref(void)
+static u32 fib6_rule_default_pref(struct fib_rules_ops *ops)
{
return 0x3FFF;
}