summaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2007-03-28 14:18:52 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-25 22:28:24 -0700
commit4b19ca44cbafabfe0b7b98e2e24b21a96198f509 (patch)
treead16620eebb4577493b56cfb23d8a90a6825b8e7 /net/ipv4
parentd626f62b11e00c16e81e4308ab93d3f13551812a (diff)
downloadop-kernel-dev-4b19ca44cbafabfe0b7b98e2e24b21a96198f509.zip
op-kernel-dev-4b19ca44cbafabfe0b7b98e2e24b21a96198f509.tar.gz
[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>
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/fib_rules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/fib_rules.c b/net/ipv4/fib_rules.c
index fe29b98..33083ad 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)
static void fib4_rule_flush_cache(void)
{
- rt_cache_flush(0);
+ rt_cache_flush(-1);
}
static struct fib_rules_ops fib4_rules_ops = {
OpenPOWER on IntegriCloud