Re: xfrm: policy: add inexact policy search tree infrastructure

2018-11-14 Thread Florian Westphal
Colin Ian King wrote: > Hi, > > Static analysis with CoverityScan found a potential issue with the commit: > > commit 6be3b0db6db82cf056a72cc18042048edd27f8ee > Author: Florian Westphal > Date: Wed Nov 7 23:00:37 2018 +0100 > > xfrm: policy: add inexact policy

re: xfrm: policy: add inexact policy search tree infrastructure

2018-11-14 Thread Colin Ian King
Hi, Static analysis with CoverityScan found a potential issue with the commit: commit 6be3b0db6db82cf056a72cc18042048edd27f8ee Author: Florian Westphal Date: Wed Nov 7 23:00:37 2018 +0100 xfrm: policy: add inexact policy search tree infrastructure It seems that pointer pol is set

[PATCH ipsec-next 07/11] xfrm: policy: add inexact policy search tree infrastructure

2018-11-07 Thread Florian Westphal
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