summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2024-10-18 09:19:23 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-10-18 12:13:49 +0200
commitaf7674f4ad30e83efc84f04c45f01e6eff137702 (patch)
treef8782c0156d277d207527ae7fb46f10a63a0e158 /src/network
parentupdate TODO (diff)
downloadsystemd-af7674f4ad30e83efc84f04c45f01e6eff137702.tar.xz
systemd-af7674f4ad30e83efc84f04c45f01e6eff137702.zip
networkd: raise limits on number of address 8x
Limits should be enforced, but not in a way real setups collide with them. There have been multiple reports that current limits are too low, hence raise them 8x. Fixes: #24852
Diffstat (limited to 'src/network')
-rw-r--r--src/network/networkd-address.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-address.c b/src/network/networkd-address.c
index 1e37e6e85a..d580840a26 100644
--- a/src/network/networkd-address.c
+++ b/src/network/networkd-address.c
@@ -27,8 +27,8 @@
#include "strv.h"
#include "strxcpyx.h"
-#define ADDRESSES_PER_LINK_MAX 2048U
-#define STATIC_ADDRESSES_PER_NETWORK_MAX 1024U
+#define ADDRESSES_PER_LINK_MAX 16384U
+#define STATIC_ADDRESSES_PER_NETWORK_MAX 8192U
#define KNOWN_FLAGS \
(IFA_F_SECONDARY | \