]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/networkd-dhcp-prefix-delegation.c
network/address: introduce address_remove_and_cancel() 30697/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 2 Jan 2024 19:40:29 +0000 (04:40 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 2 Jan 2024 19:43:34 +0000 (04:43 +0900)
commitf22b586a215962416bdbd692aabb89b1ac2999d0
treefef2a97c0b9ca7c5e1460fb55081556dc0255318
parentf1b73dbbc95d2414bc1acb35ccae25b94680d0df
network/address: introduce address_remove_and_cancel()

Then, replace address_remove_and_drop() with it.

If an address is requested, and the request is already called,
we may not received its reply and notification from the kernel, and
the corresponding address object may not be remmbered. Even in such
case, we need to remove the address, otherwise the address will come
later after the function called.
src/network/networkd-address.c
src/network/networkd-address.h
src/network/networkd-dhcp-prefix-delegation.c
src/network/networkd-dhcp4.c
src/network/networkd-dhcp6.c
src/network/networkd-ipv4acd.c
src/network/networkd-ipv4ll.c
src/network/networkd-ndisc.c