diff options
author | Denis V. Lunev <den@openvz.org> | 2008-01-10 06:18:25 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:01:22 -0500 |
commit | 868d13ac811746e28e4c806f2b1bd8575796f9af (patch) | |
tree | 9629052707e471597afd13771e23b31b3b11b539 /net/ipv4/fib_rules.c | |
parent | f8c26b8d589867aed8251db2935f8aa03aa68717 (diff) |
[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/ipv4/fib_rules.c')
-rw-r--r-- | net/ipv4/fib_rules.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/fib_rules.c b/net/ipv4/fib_rules.c index eac3f717ecab..afe669dd1bd5 100644 --- a/net/ipv4/fib_rules.c +++ b/net/ipv4/fib_rules.c | |||
@@ -245,7 +245,7 @@ nla_put_failure: | |||
245 | return -ENOBUFS; | 245 | return -ENOBUFS; |
246 | } | 246 | } |
247 | 247 | ||
248 | static u32 fib4_rule_default_pref(void) | 248 | static u32 fib4_rule_default_pref(struct fib_rules_ops *ops) |
249 | { | 249 | { |
250 | struct list_head *pos; | 250 | struct list_head *pos; |
251 | struct fib_rule *rule; | 251 | struct fib_rule *rule; |