network/address: do not add Address object to Link on requesting
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 8 Jul 2023 23:42:25 +0000 (08:42 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 30 Jul 2023 17:31:00 +0000 (02:31 +0900)
commit0a0c2672dbd22dc85d660e5baa7e1bef701beb88
tree17566a252b26f7cb676b24ca204e28152b521667
parent3c283289aefb3cfb8bfa5c759209368b63d1692c
network/address: do not add Address object to Link on requesting

Then, all addresses managed by a link really exist (unless the kernel
silently removes addresses).
By this change, now Address objects managed by Link and owned by Request
are decoupled, and always requested settings will be applied.

Fixes #25843.
src/network/networkd-address.c