mbox series

[v2,net-next,0/4] fib: remove suppress indirection, merge nl policies

Message ID 20211214172731.3591-1-fw@strlen.de (mailing list archive)
Headers show
Series fib: remove suppress indirection, merge nl policies | expand

Message

Florian Westphal Dec. 14, 2021, 5:27 p.m. UTC
v2: don't break build with CONFIG_IPV6=n.

This series removes the 'suppress' indirection in fib_rule_ops struct
and merges the different (largely identical) nla policies.

Florian Westphal (4):
  fib: remove suppress indirection
  fib: place common code in a helper
  fib: rules: remove duplicated nla policies
  fib: expand fib_rule_policy

 include/net/fib_rules.h |  30 -----------
 net/core/fib_rules.c    | 111 +++++++++++++++++++++++++++++++++++++---
 net/decnet/dn_rules.c   |   5 --
 net/ipv4/fib_rules.c    |  40 ---------------
 net/ipv4/ipmr.c         |   5 --
 net/ipv6/fib6_rules.c   |  39 --------------
 net/ipv6/ip6mr.c        |   5 --
 7 files changed, 105 insertions(+), 130 deletions(-)