]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9f979f657570e0c074b8c2ed60cd61ce6d1601f6
tree6d3a5fe6d0cdd085bf3d4d76a1527cb121195ba5
parent1c011ec7c572190fcc9608897381a5a314f0c8cd
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