diff options
author | Florian Westphal <fw@strlen.de> | 2011-08-25 11:46:12 (GMT) |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2011-12-04 21:43:33 (GMT) |
commit | 6fc01438a94702bd160cb1b89203d9b97ae68ced (patch) | |
tree | 80ddedf18e0713a66126fbf7204f205db0648ead /net/ipv4/fib_rules.c | |
parent | 761965eab38d2cbc59c36e355c59609e3a04705a (diff) | |
download | linux-6fc01438a94702bd160cb1b89203d9b97ae68ced.tar.xz |
net: ipv4: export fib_lookup and fib_table_lookup
The reverse path filter module will use fib_lookup.
If CONFIG_IP_MULTIPLE_TABLES is not set, fib_lookup is
only a static inline helper that calls fib_table_lookup,
so export that too.
Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv4/fib_rules.c')
-rw-r--r-- | net/ipv4/fib_rules.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/fib_rules.c b/net/ipv4/fib_rules.c index 46339ba..799fc79 100644 --- a/net/ipv4/fib_rules.c +++ b/net/ipv4/fib_rules.c @@ -67,6 +67,7 @@ int fib_lookup(struct net *net, struct flowi4 *flp, struct fib_result *res) return err; } +EXPORT_SYMBOL_GPL(fib_lookup); static int fib4_rule_action(struct fib_rule *rule, struct flowi *flp, int flags, struct fib_lookup_arg *arg) |