Skip to content

Commit 8c2ceab

Browse files
dsaherndavem330
authored andcommitted
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>
1 parent 0d876f2 commit 8c2ceab

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

net/ipv4/fib_semantics.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1780,4 +1780,3 @@ void fib_select_path(struct net *net, struct fib_result *res,
17801780
if (!fl4->saddr)
17811781
fl4->saddr = FIB_RES_PREFSRC(net, *res);
17821782
}
1783-
EXPORT_SYMBOL_GPL(fib_select_path);

net/ipv4/route.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1847,7 +1847,6 @@ int fib_multipath_hash(const struct fib_info *fi, const struct flowi4 *fl4,
18471847

18481848
return mhash >> 1;
18491849
}
1850-
EXPORT_SYMBOL_GPL(fib_multipath_hash);
18511850
#endif /* CONFIG_IP_ROUTE_MULTIPATH */
18521851

18531852
static int ip_mkroute_input(struct sk_buff *skb,

0 commit comments

Comments
 (0)