diff options
author | Denis V. Lunev <den@openvz.org> | 2008-07-06 06:01:28 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-06 06:01:28 +0400 |
commit | ae299fc051aa68ca6ef1807c37bb92d9b6ff817c (patch) | |
tree | ff627bdee8efd3018f0e5ae9a35fe48a2f91a8ca /net/core/fib_rules.c | |
parent | 76e6ebfb40a2455c18234dcb0f9df37533215461 (diff) | |
download | linux-ae299fc051aa68ca6ef1807c37bb92d9b6ff817c.tar.xz |
net: add fib_rules_ops to flush_cache method
This is required to pass namespace context into rt_cache_flush called from
->flush_cache.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/fib_rules.c')
-rw-r--r-- | net/core/fib_rules.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/fib_rules.c b/net/core/fib_rules.c index e3e9ab0f74e3..1c2943a119f3 100644 --- a/net/core/fib_rules.c +++ b/net/core/fib_rules.c @@ -69,7 +69,7 @@ static void rules_ops_put(struct fib_rules_ops *ops) static void flush_route_cache(struct fib_rules_ops *ops) { if (ops->flush_cache) - ops->flush_cache(); + ops->flush_cache(ops); } int fib_rules_register(struct fib_rules_ops *ops) |