summaryrefslogtreecommitdiff
path: root/rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorJulian Anastasov <ja@ssi.bg>2026-05-25 06:54:39 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2026-06-05 13:11:54 +0200
commit4a15044a2b06748c99a8c8c3c6b3ee0a01f8004d (patch)
treea05d637fa20b84108e017520451d31f65b4c14b8 /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
parentbfa3d89cc15c09f7d1581c834a5ed725189ec19f (diff)
ipvs: add conn_max sysctl to limit connections
Currently, we are using atomic_t to track the number of connections. On 64-bit setups with large memory there is a risk this counter to overflow. Also, setups with many containers may need to tune the limit for connections. Add sysctl control to limit the number of connections to 1,073,741,824 (64-bit) and 16,777,216 (32-bit). Depending on the admin's privilege, the value is used to change a soft or hard limit allowing unprivileged admins to change the soft limit in range determined by privileged admins. Link: https://sashiko.dev/#/patchset/20260523172715.94795-1-ja%40ssi.bg Link: https://sashiko.dev/#/patchset/20260430074420.26697-7-ja%40ssi.bg Link: https://sashiko.dev/#/patchset/20260522105546.13732-1-ja%40ssi.bg Signed-off-by: Julian Anastasov <ja@ssi.bg> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions