diff options
author | Florian Westphal <[email protected]> | 2024-08-22 15:04:31 +0200 |
---|---|---|
committer | Steffen Klassert <[email protected]> | 2024-08-24 09:56:09 +0200 |
commit | 563d5ca93e883b9dcb4b7dc8967ac569fd91820d (patch) | |
tree | 512376576269e981b5e15749e1aea0dd35425a36 /tools/perf/util/scripting-engines/trace-event-python.c | |
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 <[email protected]>
Signed-off-by: Florian Westphal <[email protected]>
Signed-off-by: Steffen Klassert <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions