aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2007-03-28 17:18:52 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 01:28:24 -0400
commit4b19ca44cbafabfe0b7b98e2e24b21a96198f509 (patch)
treead16620eebb4577493b56cfb23d8a90a6825b8e7
parentd626f62b11e00c16e81e4308ab93d3f13551812a (diff)
[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>
-rw-r--r--net/decnet/dn_rules.c2
-rw-r--r--net/ipv4/fib_rules.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/decnet/dn_rules.c b/net/decnet/dn_rules.c
index 7f58b95b27d1..17a1932216d6 100644
--- a/net/decnet/dn_rules.c
+++ b/net/decnet/dn_rules.c
@@ -242,7 +242,7 @@ static u32 dn_fib_rule_default_pref(void)
242 242
243static void dn_fib_rule_flush_cache(void) 243static void dn_fib_rule_flush_cache(void)
244{ 244{
245 dn_rt_cache_flush(0); 245 dn_rt_cache_flush(-1);
246} 246}
247 247
248static struct fib_rules_ops dn_fib_rules_ops = { 248static struct fib_rules_ops dn_fib_rules_ops = {
diff --git a/net/ipv4/fib_rules.c b/net/ipv4/fib_rules.c
index fe29b98d6c8f..33083ad52e9f 100644
--- a/net/ipv4/fib_rules.c
+++ b/net/ipv4/fib_rules.c
@@ -300,7 +300,7 @@ static size_t fib4_rule_nlmsg_payload(struct fib_rule *rule)
300 300
301static void fib4_rule_flush_cache(void) 301static void fib4_rule_flush_cache(void)
302{ 302{
303 rt_cache_flush(0); 303 rt_cache_flush(-1);
304} 304}
305 305
306static struct fib_rules_ops fib4_rules_ops = { 306static struct fib_rules_ops fib4_rules_ops = {