Štěpán Němec
7833a46ca1
docs/CGROUP_DELEGATION: fix some typos
2021-06-09 11:04:17 +02:00
Lennart Poettering
bead169fe0
Merge pull request #19851 from poettering/bpf-firewall-tweaks
...
close bpf firewall reload gap
2021-06-09 09:47:23 +02:00
Yu Watanabe
045d7232b5
Merge pull request #19852 from yuwata/network-stable-secret
...
network: introduce IPv6StableSecretAddress= to configure secret key for generating IPv6LL address
2021-06-09 12:30:57 +09:00
Lennart Poettering
e68778a3ac
journald: when journald namespace instances log, they can do so safely to the main journald instance
...
Fixes : #18951
2021-06-09 12:30:22 +09:00
Yu Watanabe
0acd7f1c5f
Merge pull request #19831 from yuwata/network-next2
...
network: several interface up/down and setting MTU related updates
2021-06-09 12:27:37 +09:00
Luca Boccassi
165c23c6b2
NEWS: list more recent changes
2021-06-08 21:23:26 +01:00
Lennart Poettering
dbef3d163b
bpf-firewall: close gap when updating the firewall
...
If we have BPF_F_ALLOW_MULTI support we can install the new program
before we drop the old (because we can install two program at the same
time). Let's do that, and thus fully close the firewall
gap.
2021-06-08 22:02:35 +02:00
Lennart Poettering
a947ebb515
bpf-program: document BPFProgram a bit
2021-06-08 22:02:35 +02:00
Lennart Poettering
b57d752326
bpf-program: serialize attached BPF programs across daemon reexec/reload
...
Alternative to #17495
2021-06-08 22:02:35 +02:00
Lennart Poettering
7a7cf83dc3
bpf-program: export hash_ops for BPFProgam objects
2021-06-08 22:02:35 +02:00
Lennart Poettering
06ad9d0c12
bpf-program: use structured initialization when allocating BPFProgram objects
2021-06-08 22:02:35 +02:00
Lennart Poettering
d63a3d350f
bpf-link: prefix function names with "bpf_"
...
we generally do this for all bpf functions, do so here too.
2021-06-08 22:02:35 +02:00
Lennart Poettering
cd09a5f3c1
core: rename socket-bind.[ch] → bpf-socket-bind.[ch]
...
The other BPF infra has a file name prefix of "bpf-" hence do so here
too.
2021-06-08 22:02:32 +02:00
Yu Watanabe
baa95d2274
network: do not process requests which conditionalized with link flags while the flags are updating
...
E.g. nexthop requires IFF_UP flag, but the currently stored flag may be
outdated if we called link_down(). This makes such requests pending if
at least one of the flags are updating.
2021-06-09 04:59:23 +09:00
Yu Watanabe
2a057a7340
network: make several link settings critical
2021-06-09 04:59:23 +09:00
Yu Watanabe
712fd5d25a
network: use request queue to handle always-up or -down activation policy
2021-06-09 04:59:23 +09:00
Yu Watanabe
68f5206349
network: use request queue to handle bound_to list
2021-06-09 04:59:23 +09:00
Yu Watanabe
aa9117c0c4
network: handle bound_by list even if IgnoreCarrierLoss=yes
2021-06-09 04:59:23 +09:00
Yu Watanabe
ad82f0c32b
network: add brief comments about bound_to and bound_by list
2021-06-09 04:59:23 +09:00
Yu Watanabe
899b0e5eec
network: apply activation policy only when it is once activated
...
Otherwise, e.g., if activation policy is always-up is set for bond
slave, then setting bond configuration may fail.
2021-06-09 04:59:23 +09:00
Yu Watanabe
da4929eeb9
network: do not drop requests on carrier lost
...
On carrier lost, then all requests which require carrier will not be
processed. And they will be processed when the interface gained its
carrier again. So, it is not necessary to drop requests here.
2021-06-09 04:59:23 +09:00
Yu Watanabe
e95c06c977
network: route: update error message
2021-06-09 04:59:23 +09:00
Yu Watanabe
e56e1a15b5
network: also adjust IPv6 MTU by the maximum MTU of the interface
2021-06-09 04:59:23 +09:00
Yu Watanabe
717ba5fc90
network: read the minimum and maximum MTU of the interface, and adjust requested MTU based on these values
2021-06-09 04:59:23 +09:00
Yu Watanabe
7558f9e717
network: use request queue to configure CAN interfaces
...
This also makes SR-IOV configurations are ignored for CAN interfaces,
as CAN interfaces seem not to support SR-IOV features.
2021-06-09 04:59:23 +09:00