net/ipv4: Unexport fib_multipath_hash and fib_select_path
authorDavid Ahern <dsahern@gmail.com>
Tue, 13 Feb 2018 16:12:12 +0000 (08:12 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Feb 2018 19:00:57 +0000 (14:00 -0500)
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>
net/ipv4/fib_semantics.c
net/ipv4/route.c

index 0b8c0a7..2b883b5 100644 (file)
@@ -1780,4 +1780,3 @@ check_saddr:
        if (!fl4->saddr)
                fl4->saddr = FIB_RES_PREFSRC(net, *res);
 }
-EXPORT_SYMBOL_GPL(fib_select_path);
index 9376ed6..b0ef4cc 100644 (file)
@@ -1847,7 +1847,6 @@ int fib_multipath_hash(const struct fib_info *fi, const struct flowi4 *fl4,
 
        return mhash >> 1;
 }
-EXPORT_SYMBOL_GPL(fib_multipath_hash);
 #endif /* CONFIG_IP_ROUTE_MULTIPATH */
 
 static int ip_mkroute_input(struct sk_buff *skb,