diff options
| author | Florian Westphal <[email protected]> | 2018-11-07 23:00:32 +0100 |
|---|---|---|
| committer | Steffen Klassert <[email protected]> | 2018-11-09 11:57:22 +0100 |
| commit | ceb159e30ad22efa0981d544e6166003515aa896 (patch) | |
| tree | 8a95585a7b26efd56fafb075995b3fb17810255a /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| parent | b69d540da7db84e836cea77fbd56a518aafa1f2f (diff) | |
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 <[email protected]>
Acked-by: David S. Miller <[email protected]>
Signed-off-by: Steffen Klassert <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions