]> git.ipfire.org Git - thirdparty/systemd.git/commit
network: set 'removing' flag to remembered object
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 2 Feb 2024 04:08:35 +0000 (13:08 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 7 Feb 2024 10:25:19 +0000 (10:25 +0000)
commitfe0acbf7e061eb5be2708f0dbb9275084abc97af
treee7da5c3bf060e0451cb1035dc4b86490c3144b52
parent10aedb6f9de572e2744ad0f25adf5a715f0306ea
network: set 'removing' flag to remembered object

Previously, if address_remove() or friends called with a temporary
object, the removing flag is assigned to the temporary object, and is
not set to the remembered object. Hence, e.g.
route_is_ready_to_configure() wrongly judge a required address for a
route is (still) ready, hence networkd fails to configure the route.

Fixes #28009.
src/network/networkd-address.c
src/network/networkd-neighbor.c
src/network/networkd-nexthop.c
src/network/networkd-route.c