]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/ipv4/fib_rules.c
netns: add namespace parameter to rt_cache_flush
[net-next-2.6.git] / net / ipv4 / fib_rules.c
index 1fb56876be54ab77f035abbd0afd51618edb2da8..bc05de413087e5de758abb710742191b9318f6bd 100644 (file)
@@ -260,7 +260,7 @@ static size_t fib4_rule_nlmsg_payload(struct fib_rule *rule)
 
 static void fib4_rule_flush_cache(void)
 {
-       rt_cache_flush(-1);
+       rt_cache_flush(&init_net, -1);
 }
 
 static struct fib_rules_ops fib4_rules_ops_template = {