summaryrefslogtreecommitdiffstats
path: root/include/net/fib_rules.h
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2021-12-16 13:05:06 +0100
committerJakub Kicinski <kuba@kernel.org>2021-12-16 07:18:35 -0800
commit92e1bcee067f1722703bf61047ef674be1b6d1c0 (patch)
tree6d3a5fe6d0cdd085bf3d4d76a1527cb121195ba5 /include/net/fib_rules.h
parent604ba230902d23c6e85c7dba9cfcb6a37661cb12 (diff)
downloadlinux-92e1bcee067f1722703bf61047ef674be1b6d1c0.tar.gz
linux-92e1bcee067f1722703bf61047ef674be1b6d1c0.tar.bz2
linux-92e1bcee067f1722703bf61047ef674be1b6d1c0.zip
fib: rules: remove duplicated nla policies
The attributes are identical in all implementations so move the ipv4 one into the core and remove the per-family nla policies. Signed-off-by: Florian Westphal <fw@strlen.de> Reviewed-by: David Ahern <dsahern@kernel.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/fib_rules.h')
-rw-r--r--include/net/fib_rules.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/fib_rules.h b/include/net/fib_rules.h
index bd07484ab9dd..4183204915dc 100644
--- a/include/net/fib_rules.h
+++ b/include/net/fib_rules.h
@@ -91,7 +91,6 @@ struct fib_rules_ops {
void (*flush_cache)(struct fib_rules_ops *ops);
int nlgroup;
- const struct nla_policy *policy;
struct list_head rules_list;
struct module *owner;
struct net *fro_net;