summaryrefslogtreecommitdiffstats
path: root/fs/nls
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2018-11-07 23:00:32 +0100
committerSteffen Klassert <steffen.klassert@secunet.com>2018-11-09 11:57:22 +0100
commitceb159e30ad22efa0981d544e6166003515aa896 (patch)
tree8a95585a7b26efd56fafb075995b3fb17810255a /fs/nls
parentb69d540da7db84e836cea77fbd56a518aafa1f2f (diff)
downloadlinux-ceb159e30ad22efa0981d544e6166003515aa896.tar.bz2
xfrm: security: iterate all, not inexact lists
currently all non-socket policies are either hashed in the dst table, or placed on the 'inexact list'. When flushing, we first walk the table, then the (per-direction) inexact lists. When we try and get rid of the inexact lists to having "n" inexact lists (e.g. per-af inexact lists, or sorted into a tree), this walk would become more complicated. Simplify this: walk the 'all' list and skip socket policies during traversal so we don't need to handle exact and inexact policies separately anymore. 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 'fs/nls')
0 files changed, 0 insertions, 0 deletions