1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-23 17:34:00 +03:00

network: drop one more link_dirty()

Follow-up for 9092113d93.

link_dirty() will be called later in this function when a DNS or domain
is dropped.
This commit is contained in:
Yu Watanabe 2021-01-31 22:31:32 +09:00
parent 5caac53adb
commit 8ccc31d498

View File

@ -166,8 +166,6 @@ static int ndisc_remove_old_one(Link *link, const struct in6_addr *router, bool
log_link_debug(link, "Removing old NDisc information obtained from %s.", strna(buf));
}
link_dirty(link);
SET_FOREACH(na, link->ndisc_addresses)
if (na->marked && IN6_ARE_ADDR_EQUAL(&na->router, router)) {
k = address_remove(na->address, link, NULL);