aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/ip_fib.h
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2019-05-22 12:04:44 -0700
committerDavid S. Miller <davem@davemloft.net>2019-05-22 17:48:44 -0700
commit9bd836679210534396a93a02f2fcf3ece64f45f7 (patch)
tree90293aa5a3023c8b61dfc5d6c042d565ac8f36e7 /include/net/ip_fib.h
parentipv4: export fib_check_nh (diff)
downloadlinux-dev-9bd836679210534396a93a02f2fcf3ece64f45f7.tar.xz
linux-dev-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 'include/net/ip_fib.h')
-rw-r--r--include/net/ip_fib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/ip_fib.h b/include/net/ip_fib.h
index 27d7c89ca9c4..79c18bd6a059 100644
--- a/include/net/ip_fib.h
+++ b/include/net/ip_fib.h
@@ -473,6 +473,7 @@ static inline void fib_combine_itag(u32 *itag, const struct fib_result *res)
#endif
}
+void fib_flush(struct net *net);
void free_fib_info(struct fib_info *fi);
static inline void fib_info_hold(struct fib_info *fi)