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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Jul 2023 14:22:13 +0000 (16:22 +0200)
commit8fcb478b5508fc648fc34c9a546264fcdd3c4c3f
treef0ff366cdf507f7056779724e42e99978cb60148
parent759e582b1cea5457ed058f42c60c9bef4b30db9d
ipvs: increase ip_vs_conn_tab_bits range for 64BIT

commit 04292c695f82b6cf0d25dd5ae494f16ddbb621f6 upstream.

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>
Cc: Allen Pais <apais@linux.microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/netfilter/ipvs/Kconfig
net/netfilter/ipvs/ip_vs_conn.c