summaryrefslogtreecommitdiffstats
path: root/include/net/fib_rules.h
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-01-10 03:18:25 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-28 15:01:22 -0800
commit868d13ac811746e28e4c806f2b1bd8575796f9af (patch)
tree9629052707e471597afd13771e23b31b3b11b539 /include/net/fib_rules.h
parentf8c26b8d589867aed8251db2935f8aa03aa68717 (diff)
downloadop-kernel-dev-868d13ac811746e28e4c806f2b1bd8575796f9af.zip
op-kernel-dev-868d13ac811746e28e4c806f2b1bd8575796f9af.tar.gz
[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 'include/net/fib_rules.h')
-rw-r--r--include/net/fib_rules.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/fib_rules.h b/include/net/fib_rules.h
index f7351b0..e9a074c 100644
--- a/include/net/fib_rules.h
+++ b/include/net/fib_rules.h
@@ -56,7 +56,7 @@ struct fib_rules_ops
int (*fill)(struct fib_rule *, struct sk_buff *,
struct nlmsghdr *,
struct fib_rule_hdr *);
- u32 (*default_pref)(void);
+ u32 (*default_pref)(struct fib_rules_ops *ops);
size_t (*nlmsg_payload)(struct fib_rule *);
/* Called after modifications to the rules set, must flush
OpenPOWER on IntegriCloud