]> 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)
commitc533fd0e95d2f1b362727655cc11d929b95b250a
tree6d3a5fe6d0cdd085bf3d4d76a1527cb121195ba5
parent1ae26699a6148a79eebd72c15117dbab51b7db2a
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