mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-22 22:03:43 +03:00
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 (cherry picked from commit af7674f4ad30e83efc84f04c45f01e6eff137702) (cherry picked from commit dc47ba69fcc6ff01b813777b126f4cf9b571a9c9) (cherry picked from commit c0d234ac2ed0cb14f237f8aa4ea61abc5bdb4a11)
This commit is contained in:
parent
25fa23681b
commit
15c33cb709
@ -23,8 +23,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
|
||||
|
||||
int address_flags_to_string_alloc(uint32_t flags, int family, char **ret) {
|
||||
_cleanup_free_ char *str = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user