diff options
author | Florian Westphal <fw@strlen.de> | 2024-08-22 15:04:31 +0200 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2024-08-24 09:56:09 +0200 |
commit | 563d5ca93e883b9dcb4b7dc8967ac569fd91820d (patch) | |
tree | 512376576269e981b5e15749e1aea0dd35425a36 /include/net/llc_conn.h | |
parent | 33f611cf7d52ffdaebdcd6e42672ca1d06e22974 (diff) |
xfrm: switch migrate to xfrm_policy_lookup_bytype
XFRM_MIGRATE still uses the old lookup method:
first check the bydst hash table, then search the list of all the other
policies.
Switch MIGRATE to use the same lookup function as the packetpath.
This is done to remove the last remaining users of the pernet
xfrm.policy_inexact lists with the intent of removing this list.
After this patch, policies are still added to the list on insertion
and they are rehashed as-needed but no single API makes use of these
anymore.
This change is compile tested only.
Cc: Tobias Brunner <tobias@strongswan.org>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'include/net/llc_conn.h')
0 files changed, 0 insertions, 0 deletions