diff options
author | Florian Westphal <fw@strlen.de> | 2025-07-09 19:05:16 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2025-07-25 18:40:37 +0200 |
commit | 897eefee2eb73ec6c119a0ca357d7b4a3e92c5ef (patch) | |
tree | 889812dac14eabe060067a611e835d82206685bf /net/unix/af_unix.c | |
parent | d8d871a35ca9ee4881d34995444ed1cb826d01db (diff) |
netfilter: nft_set_pipapo: prefer kvmalloc for scratch maps
The scratchmap size depends on the number of elements in the set.
For huge sets, each scratch map can easily require very large
allocations, e.g. for 100k entries each scratch map will require
close to 64kbyte of memory.
Signed-off-by: Florian Westphal <fw@strlen.de>
Reviewed-by: Stefano Brivio <sbrivio@redhat.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions