Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9bd83667 authored by David Ahern's avatar David Ahern Committed by David S. Miller
Browse files

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: default avatarDavid Ahern <dsahern@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ac1fab2d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)
+1 −1
Original line number Diff line number Diff line
@@ -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;