aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2018-02-13 11:12:12 -0500
committerDavid S. Miller <davem@davemloft.net>2018-02-13 14:00:57 -0500
commit8c2ceabe99e04005cadba739856eed6953a8a3af (patch)
tree03162ed73740eec70395f6a787d3dffc5ec961fb
parent0d876f2c6de5b1b00c2fd38bb4f4692e720207b1 (diff)
net/ipv4: Unexport fib_multipath_hash and fib_select_path
Do not export fib_multipath_hash or fib_select_path; both are only used by core ipv4 code. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/ipv4/fib_semantics.c1
-rw-r--r--net/ipv4/route.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv4/fib_semantics.c b/net/ipv4/fib_semantics.c
index 0b8c0a719f3e..2b883b58354f 100644
--- a/net/ipv4/fib_semantics.c
+++ b/net/ipv4/fib_semantics.c
@@ -1780,4 +1780,3 @@ check_saddr:
1780 if (!fl4->saddr) 1780 if (!fl4->saddr)
1781 fl4->saddr = FIB_RES_PREFSRC(net, *res); 1781 fl4->saddr = FIB_RES_PREFSRC(net, *res);
1782} 1782}
1783EXPORT_SYMBOL_GPL(fib_select_path);
diff --git a/net/ipv4/route.c b/net/ipv4/route.c
index 9376ed69ffeb..b0ef4cc3e875 100644
--- a/net/ipv4/route.c
+++ b/net/ipv4/route.c
@@ -1847,7 +1847,6 @@ int fib_multipath_hash(const struct fib_info *fi, const struct flowi4 *fl4,
1847 1847
1848 return mhash >> 1; 1848 return mhash >> 1;
1849} 1849}
1850EXPORT_SYMBOL_GPL(fib_multipath_hash);
1851#endif /* CONFIG_IP_ROUTE_MULTIPATH */ 1850#endif /* CONFIG_IP_ROUTE_MULTIPATH */
1852 1851
1853static int ip_mkroute_input(struct sk_buff *skb, 1852static int ip_mkroute_input(struct sk_buff *skb,