diff options
author | Florian Westphal <fw@strlen.de> | 2018-11-07 23:00:32 +0100 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2018-11-09 11:57:22 +0100 |
commit | ceb159e30ad22efa0981d544e6166003515aa896 (patch) | |
tree | 8a95585a7b26efd56fafb075995b3fb17810255a /net/ieee802154 | |
parent | b69d540da7db84e836cea77fbd56a518aafa1f2f (diff) | |
download | linux-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 'net/ieee802154')
0 files changed, 0 insertions, 0 deletions