Merge branch 'fib-merge-nl-policies'
authorJakub Kicinski <kuba@kernel.org>
Thu, 16 Dec 2021 15:18:39 +0000 (07:18 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 16 Dec 2021 15:18:39 +0000 (07:18 -0800)
commit0f473bb6ed2d0b8533a079ee133f625f83de5315
tree7b8535c74707dab1b511dd324eda55ae04b2c634
parent604ba230902d23c6e85c7dba9cfcb6a37661cb12
parent66495f301c69288a32b9d4bdb60c20ef42d90e6e
Merge branch 'fib-merge-nl-policies'

Florian Westphal says:

====================
fib: merge nl policies

v4: resend with fixed subject line.  I preserved review tags
    from David Ahern.
v3: drop first two patches, otherwise unchanged.

This series merges the different (largely identical) nla policies.

v2 also squashed the ->suppress() implementation, I've dropped this.
Problem is that it needs ugly ifdef'ry to avoid build breakage
with CONFIG_INET=n || IPV6=n.

Given that even microbenchmark doesn't show any noticeable improvement
when ->suppress is inlined (it uses INDIRECT_CALLABLE) i decided to toss
the patch instead of adding more ifdefs.
====================

Link: https://lore.kernel.org/r/20211216120507.3299-1-fw@strlen.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>