mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
76e6ebfb40
commit
ae299fc051
4 changed files with 5 additions and 5 deletions
|
@ -62,7 +62,7 @@ struct fib_rules_ops
|
|||
|
||||
/* Called after modifications to the rules set, must flush
|
||||
* the route cache if one exists. */
|
||||
void (*flush_cache)(void);
|
||||
void (*flush_cache)(struct fib_rules_ops *ops);
|
||||
|
||||
int nlgroup;
|
||||
const struct nla_policy *policy;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue