diff options
author | Denis V. Lunev <den@openvz.org> | 2008-07-06 04:01:28 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-06 04:01:28 +0200 |
commit | ae299fc051aa68ca6ef1807c37bb92d9b6ff817c (patch) | |
tree | ff627bdee8efd3018f0e5ae9a35fe48a2f91a8ca /net/decnet | |
parent | netns: add namespace parameter to rt_cache_flush (diff) | |
download | linux-ae299fc051aa68ca6ef1807c37bb92d9b6ff817c.tar.xz linux-ae299fc051aa68ca6ef1807c37bb92d9b6ff817c.zip |
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/decnet')
-rw-r--r-- | net/decnet/dn_rules.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/decnet/dn_rules.c b/net/decnet/dn_rules.c index 5b7539b7fe0c..14fbca55e908 100644 --- a/net/decnet/dn_rules.c +++ b/net/decnet/dn_rules.c @@ -229,7 +229,7 @@ static u32 dn_fib_rule_default_pref(struct fib_rules_ops *ops) return 0; } -static void dn_fib_rule_flush_cache(void) +static void dn_fib_rule_flush_cache(struct fib_rules_ops *ops) { dn_rt_cache_flush(-1); } |