ipvs: increase ip_vs_conn_tab_bits range for 64BIT
authorAbhijeet Rastogi <abhijeet.1989@gmail.com>
Wed, 17 May 2023 03:08:49 +0000 (20:08 -0700)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 1 Jun 2023 19:16:38 +0000 (21:16 +0200)
commit04292c695f82b6cf0d25dd5ae494f16ddbb621f6
tree3badc66a053238d30a88648c32f778c5d83059fb
parent4ff3dfc91c8458f65366f283167d1cd6f16be06f
ipvs: increase ip_vs_conn_tab_bits range for 64BIT

Current range [8, 20] is set purely due to historical reasons
because at the time, ~1M (2^20) was considered sufficient.
With this change, 27 is the upper limit for 64-bit, 20 otherwise.

Previous change regarding this limit is here.

Link: https://lore.kernel.org/all/86eabeb9dd62aebf1e2533926fdd13fed48bab1f.1631289960.git.aclaudi@redhat.com/T/#u
Signed-off-by: Abhijeet Rastogi <abhijeet.1989@gmail.com>
Acked-by: Julian Anastasov <ja@ssi.bg>
Acked-by: Simon Horman <horms@kernel.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/ipvs/Kconfig
net/netfilter/ipvs/ip_vs_conn.c