diff options
author | 2024-02-08 10:31:29 +0100 | |
---|---|---|
committer | 2024-02-08 12:24:02 +0100 | |
commit | 5a8cdf6fd860ac5e6d08d72edbcecee049a7fec4 (patch) | |
tree | f6300ea55eb89b9ae57553e9c2e976b75e275eb4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | netfilter: nft_set_pipapo: add helper to release pcpu scratch area (diff) | |
download | wireguard-linux-5a8cdf6fd860ac5e6d08d72edbcecee049a7fec4.tar.xz wireguard-linux-5a8cdf6fd860ac5e6d08d72edbcecee049a7fec4.zip |
netfilter: nft_set_pipapo: remove scratch_aligned pointer
use ->scratch for both avx2 and the generic implementation.
After previous change the scratch->map member is always aligned properly
for AVX2, so we can just use scratch->map in AVX2 too.
The alignoff delta is stored in the scratchpad so we can reconstruct
the correct address to free the area again.
Fixes: 7400b063969b ("nft_set_pipapo: Introduce AVX2-based lookup implementation")
Reviewed-by: Stefano Brivio <sbrivio@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions