[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 <[email protected]>
Acked-by: Daniel Lezcano <[email protected]>
Signed-off-by: Denis V. Lunev <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
Denis V. Lunev 2008-01-10 03:18:25 -08:00 • committed by David S. Miller
commit 868d13ac81
5 changed files with 5 additions and 5 deletions

View file

@ -212,7 +212,7 @@ nla_put_failure:
return -ENOBUFS;
}
static u32 dn_fib_rule_default_pref(void)
static u32 dn_fib_rule_default_pref(struct fib_rules_ops *ops)
{
struct list_head *pos;
struct fib_rule *rule;