Skip to content

Commit

Permalink
[NET] fib_rules: delay route cache flush by ip_rt_min_delay
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Thomas Graf authored and David S. Miller committed Apr 26, 2007
1 parent d626f62 commit 4b19ca4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion net/decnet/dn_rules.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ static u32 dn_fib_rule_default_pref(void)

static void dn_fib_rule_flush_cache(void)
{
dn_rt_cache_flush(0);
dn_rt_cache_flush(-1);
}

static struct fib_rules_ops dn_fib_rules_ops = {
Expand Down
2 changes: 1 addition & 1 deletion net/ipv4/fib_rules.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 4b19ca4

Please sign in to comment.