提交 9bd83667 编写于 作者: D David Ahern 提交者: David S. Miller

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: NDavid Ahern <dsahern@gmail.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 ac1fab2d
......@@ -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)
......
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册