summaryrefslogtreecommitdiffstats
path: root/net/ipv4/fib_frontend.c
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2019-05-22 21:04:44 +0200
committerDavid S. Miller <davem@davemloft.net>2019-05-23 02:48:44 +0200
commit9bd836679210534396a93a02f2fcf3ece64f45f7 (patch)
tree90293aa5a3023c8b61dfc5d6c042d565ac8f36e7 /net/ipv4/fib_frontend.c
parentipv4: export fib_check_nh (diff)
downloadlinux-9bd836679210534396a93a02f2fcf3ece64f45f7.tar.xz
linux-9bd836679210534396a93a02f2fcf3ece64f45f7.zip
ipv4: export fib_flush
As nexthops are deleted, fib entries referencing it are marked dead. Export fib_flush so those entries can be removed in a timely manner. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/fib_frontend.c')
-rw-r--r--net/ipv4/fib_frontend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/fib_frontend.c b/net/ipv4/fib_frontend.c
index b298255f6fdb..dfa57a84ac14 100644
--- a/net/ipv4/fib_frontend.c
+++ b/net/ipv4/fib_frontend.c
@@ -192,7 +192,7 @@ int fib_unmerge(struct net *net)
return 0;
}
-static void fib_flush(struct net *net)
+void fib_flush(struct net *net)
{
int flushed = 0;
unsigned int h;