summaryrefslogtreecommitdiffstats
path: root/net/ipv4/fib_trie.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2011-08-25 13:46:12 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2011-12-04 22:43:33 +0100
commit6fc01438a94702bd160cb1b89203d9b97ae68ced (patch)
tree80ddedf18e0713a66126fbf7204f205db0648ead /net/ipv4/fib_trie.c
parenttcp: tcp_sendmsg() page recycling (diff)
downloadlinux-6fc01438a94702bd160cb1b89203d9b97ae68ced.tar.xz
linux-6fc01438a94702bd160cb1b89203d9b97ae68ced.zip
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_trie.c')
-rw-r--r--net/ipv4/fib_trie.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/fib_trie.c b/net/ipv4/fib_trie.c
index 37b671185c81..d04b13ae18fe 100644
--- a/net/ipv4/fib_trie.c
+++ b/net/ipv4/fib_trie.c
@@ -1607,6 +1607,7 @@ found:
rcu_read_unlock();
return ret;
}
+EXPORT_SYMBOL_GPL(fib_table_lookup);
/*
* Remove the leaf and return parent.