summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Ahern <dsa@cumulusnetworks.com>2015-10-12 18:47:08 (GMT)
committerDavid S. Miller <davem@davemloft.net>2015-10-13 11:55:05 (GMT)
commitc4850687783717fa854554965c4bc85625d0e4a8 (patch)
treef18ab30b9c5a41dd5b773f20a081c01f696e7382
parentccf3c8c3fe1bd4828556650ae7928da6ffb4aaf6 (diff)
downloadlinux-c4850687783717fa854554965c4bc85625d0e4a8.tar.xz
net: Export fib6_get_table and nd_tbl
Signed-off-by: David Ahern <dsa@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/ipv6/ip6_fib.c1
-rw-r--r--net/ipv6/ndisc.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv6/ip6_fib.c b/net/ipv6/ip6_fib.c
index 7d2e002..09fddf7 100644
--- a/net/ipv6/ip6_fib.c
+++ b/net/ipv6/ip6_fib.c
@@ -264,6 +264,7 @@ struct fib6_table *fib6_get_table(struct net *net, u32 id)
return NULL;
}
+EXPORT_SYMBOL_GPL(fib6_get_table);
static void __net_init fib6_tables_init(struct net *net)
{
diff --git a/net/ipv6/ndisc.c b/net/ipv6/ndisc.c
index b18012f..9f8a824 100644
--- a/net/ipv6/ndisc.c
+++ b/net/ipv6/ndisc.c
@@ -147,6 +147,7 @@ struct neigh_table nd_tbl = {
.gc_thresh2 = 512,
.gc_thresh3 = 1024,
};
+EXPORT_SYMBOL_GPL(nd_tbl);
static void ndisc_fill_addr_option(struct sk_buff *skb, int type, void *data)
{