summaryrefslogtreecommitdiff
path: root/net/netfilter/nft_payload.c
diff options
context:
space:
mode:
authorJulian Anastasov <ja@ssi.bg>2023-05-17 15:37:31 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2023-06-01 21:16:38 +0200
commit4f325e26277b6a1381235008ca6fa97e6cc8f43b (patch)
treeb22a659e6b22c31683252b31bc02779284f9c9cb /net/netfilter/nft_payload.c
parent04292c695f82b6cf0d25dd5ae494f16ddbb621f6 (diff)
ipvs: dynamically limit the connection hash table
As we allow the hash table to be configured to rows above 2^20, we should limit it depending on the available memory to some sane values. Switch to kvmalloc allocation to better select the needed allocation type. Signed-off-by: Julian Anastasov <ja@ssi.bg> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nft_payload.c')
0 files changed, 0 insertions, 0 deletions