summaryrefslogtreecommitdiffstats
path: root/include/net/caif/caif_layer.h
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2018-11-07 23:00:37 +0100
committerSteffen Klassert <steffen.klassert@secunet.com>2018-11-09 11:57:59 +0100
commit6be3b0db6db82cf056a72cc18042048edd27f8ee (patch)
tree3154fe6b3db794b88ec1dd69ed1056c327772b19 /include/net/caif/caif_layer.h
parentb5fe22e2337d47cd68bb7d8e4103a628808c4d5e (diff)
downloadlinux-6be3b0db6db82cf056a72cc18042048edd27f8ee.tar.bz2
xfrm: policy: add inexact policy search tree infrastructure
At this time inexact policies are all searched in-order until the first match is found. After removal of the flow cache, this resolution has to be performed for every packetm resulting in major slowdown when number of inexact policies is high. This adds infrastructure to later sort inexact policies into a tree. This only introduces a single class: any:any. Next patch will add a search tree to pre-sort policies that have a fixed daddr/prefixlen, so in this patch the any:any class will still be used for all policies. 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>
Diffstat (limited to 'include/net/caif/caif_layer.h')
0 files changed, 0 insertions, 0 deletions