fib: rules: remove duplicated nla policies
authorFlorian Westphal <fw@strlen.de>
Thu, 16 Dec 2021 12:05:06 +0000 (13:05 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 16 Dec 2021 15:18:35 +0000 (07:18 -0800)
commit92e1bcee067f1722703bf61047ef674be1b6d1c0
tree6d3a5fe6d0cdd085bf3d4d76a1527cb121195ba5
parent604ba230902d23c6e85c7dba9cfcb6a37661cb12
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>
include/net/fib_rules.h
net/core/fib_rules.c
net/decnet/dn_rules.c
net/ipv4/fib_rules.c
net/ipv4/ipmr.c
net/ipv6/fib6_rules.c
net/ipv6/ip6mr.c