[NET] fib_rules: delay route cache flush by ip_rt_min_delay
Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
d626f62b11
commit
4b19ca44cb
@@ -300,7 +300,7 @@ static size_t fib4_rule_nlmsg_payload(struct fib_rule *rule)
|
||||
|
||||
static void fib4_rule_flush_cache(void)
|
||||
{
|
||||
rt_cache_flush(0);
|
||||
rt_cache_flush(-1);
|
||||
}
|
||||
|
||||
static struct fib_rules_ops fib4_rules_ops = {
|
||||
|
Reference in New Issue
Block a user