]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[NET] fib_rules: delay route cache flush by ip_rt_min_delay
authorThomas Graf <tgraf@suug.ch>
Wed, 28 Mar 2007 21:18:52 +0000 (14:18 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:28:24 +0000 (22:28 -0700)
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/decnet/dn_rules.c
net/ipv4/fib_rules.c

index 7f58b95b27d1e00725d140c701cdb3d1cb408068..17a1932216d63f01d8b3d4ff6e802d825eecc008 100644 (file)
@@ -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 = {
index fe29b98d6c8f3b6b9ad08d971db65f05869d4bb3..33083ad52e9ff2d0678f9a2914c230a98b1a40d5 100644 (file)
@@ -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 = {