Loading include/net/fib_rules.h +1 −1 Original line number Diff line number Diff line Loading @@ -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 net/core/fib_rules.c +1 −1 Original line number Diff line number Diff line Loading @@ -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) Loading net/decnet/dn_rules.c +1 −1 Original line number Diff line number Diff line Loading @@ -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); } Loading net/ipv4/fib_rules.c +2 −2 Original line number Diff line number Diff line Loading @@ -258,9 +258,9 @@ static size_t fib4_rule_nlmsg_payload(struct fib_rule *rule) + nla_total_size(4); /* flow */ } static void fib4_rule_flush_cache(void) static void fib4_rule_flush_cache(struct fib_rules_ops *ops) { rt_cache_flush(&init_net, -1); rt_cache_flush(ops->fro_net, -1); } static struct fib_rules_ops fib4_rules_ops_template = { Loading Loading
include/net/fib_rules.h +1 −1 Original line number Diff line number Diff line Loading @@ -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
net/core/fib_rules.c +1 −1 Original line number Diff line number Diff line Loading @@ -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) Loading
net/decnet/dn_rules.c +1 −1 Original line number Diff line number Diff line Loading @@ -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); } Loading
net/ipv4/fib_rules.c +2 −2 Original line number Diff line number Diff line Loading @@ -258,9 +258,9 @@ static size_t fib4_rule_nlmsg_payload(struct fib_rule *rule) + nla_total_size(4); /* flow */ } static void fib4_rule_flush_cache(void) static void fib4_rule_flush_cache(struct fib_rules_ops *ops) { rt_cache_flush(&init_net, -1); rt_cache_flush(ops->fro_net, -1); } static struct fib_rules_ops fib4_rules_ops_template = { Loading