]> git.ipfire.org Git - thirdparty/systemd.git/commit
network: introduce LINK_RECONFIGURE_CLEANLY flag 35035/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 5 Nov 2024 02:41:31 +0000 (11:41 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 5 Nov 2024 17:05:00 +0000 (02:05 +0900)
commit6e0c9b7dac87d7b5712ad7eb17a5dfe5353931d0
treecd616400f1cc2a16f36d988964a2599a7e62c101
parent451c2baf30f50b95d73e648058c7c2348dbf0c31
network: introduce LINK_RECONFIGURE_CLEANLY flag

And use it when explicit reconfiguration is requested by Reconfigure() DBus method
or networkd certainly detects that connected network is changed.
Otherwise do not use the flag especially when we come back from sleep mode.
src/network/networkd-link-bus.c
src/network/networkd-link.c
src/network/networkd-link.h