diff options
author | Denis V. Lunev <den@openvz.org> | 2008-07-05 22:00:44 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-05 22:00:44 -0400 |
commit | 76e6ebfb40a2455c18234dcb0f9df37533215461 (patch) | |
tree | f3b435e8b27a297f330fc7d497a0ef44022e7239 /net/ipv4/fib_rules.c | |
parent | f43798c27684ab925adde7d8acc34c78c6e50df8 (diff) |
netns: add namespace parameter to rt_cache_flush
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/fib_rules.c')
-rw-r--r-- | net/ipv4/fib_rules.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/fib_rules.c b/net/ipv4/fib_rules.c index 1fb56876be54..bc05de413087 100644 --- a/net/ipv4/fib_rules.c +++ b/net/ipv4/fib_rules.c | |||
@@ -260,7 +260,7 @@ static size_t fib4_rule_nlmsg_payload(struct fib_rule *rule) | |||
260 | 260 | ||
261 | static void fib4_rule_flush_cache(void) | 261 | static void fib4_rule_flush_cache(void) |
262 | { | 262 | { |
263 | rt_cache_flush(-1); | 263 | rt_cache_flush(&init_net, -1); |
264 | } | 264 | } |
265 | 265 | ||
266 | static struct fib_rules_ops fib4_rules_ops_template = { | 266 | static struct fib_rules_ops fib4_rules_ops_template = { |