diff options
author | 2025-04-22 21:52:44 +0200 | |
---|---|---|
committer | 2025-05-05 13:17:32 +0200 | |
commit | b85e3367a5716ed3662a4fe266525190d2af76df (patch) | |
tree | 20e2a7d10eb64ea8f94746508cd959de9ac43a3c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | netfilter: nft_set_pipapo: prevent overflow in lookup table allocation (diff) | |
download | wireguard-linux-b85e3367a5716ed3662a4fe266525190d2af76df.tar.xz wireguard-linux-b85e3367a5716ed3662a4fe266525190d2af76df.zip |
netfilter: nft_set_pipapo: clamp maximum map bucket size to INT_MAX
Otherwise, it is possible to hit WARN_ON_ONCE in __kvmalloc_node_noprof()
when resizing hashtable because __GFP_NOWARN is unset.
Similar to:
b541ba7d1f5a ("netfilter: conntrack: clamp maximum hashtable size to INT_MAX")
Reviewed-by: Stefano Brivio <sbrivio@redhat.com>
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