]> git.ipfire.org Git - thirdparty/systemd.git/commit
network/address: forget address even if we could not remove it
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 2 Jan 2024 19:41:42 +0000 (04:41 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 12 Jan 2024 00:36:04 +0000 (09:36 +0900)
commit56a995fe8e50b2432ff930ed0431cc70adbe492d
tree4c8424a7a673269db1dafe056324c3cfa728449b
parent85a6f300c14d75d161cbfdb3eaf5af9594400ecd
network/address: forget address even if we could not remove it

If we could not remove an address, then previously the corresponding
Address object was never removed, as it was freed only when we receive
remove notification from the kernel. So, we might confused that the
address still exists and being removed, and might block reconfiguring
the address.

With this change, even if we fail to remove an address, the
corresponding Address object will be freed.
src/network/networkd-address.c