diff options
author | Denis V. Lunev <den@openvz.org> | 2008-07-05 22:01:28 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-05 22:01:28 -0400 |
commit | ae299fc051aa68ca6ef1807c37bb92d9b6ff817c (patch) | |
tree | ff627bdee8efd3018f0e5ae9a35fe48a2f91a8ca /include/net/fib_rules.h | |
parent | 76e6ebfb40a2455c18234dcb0f9df37533215461 (diff) |
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 'include/net/fib_rules.h')
-rw-r--r-- | include/net/fib_rules.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/fib_rules.h b/include/net/fib_rules.h index a5c6ccc5bb19..c2bb5cae6515 100644 --- a/include/net/fib_rules.h +++ b/include/net/fib_rules.h | |||
@@ -62,7 +62,7 @@ struct fib_rules_ops | |||
62 | 62 | ||
63 | /* Called after modifications to the rules set, must flush | 63 | /* Called after modifications to the rules set, must flush |
64 | * the route cache if one exists. */ | 64 | * the route cache if one exists. */ |
65 | void (*flush_cache)(void); | 65 | void (*flush_cache)(struct fib_rules_ops *ops); |
66 | 66 | ||
67 | int nlgroup; | 67 | int nlgroup; |
68 | const struct nla_policy *policy; | 68 | const struct nla_policy *policy; |