xfrm: policy: store inexact policies in a tree ordered by source address
authorFlorian Westphal <fw@strlen.de>
Wed, 7 Nov 2018 22:00:40 +0000 (23:00 +0100)
committerSteffen Klassert <steffen.klassert@secunet.com>
Fri, 9 Nov 2018 10:58:19 +0000 (11:58 +0100)
commit64a09a7bfedee6ab97273d653dfac28e82635b61
tree0b912a7cbd71df1f351370b57c2045358210fe1a
parente901cbc29316fb06423de5dfbc5afb78d4efda53
xfrm: policy: store inexact policies in a tree ordered by source address

This adds the 'saddr:any' search class.  It contains all policies that have
a fixed saddr/prefixlen, but 'any' destination.

Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/xfrm/xfrm_policy.c