]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: drop one more link_dirty()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 31 Jan 2021 13:31:32 +0000 (22:31 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 31 Jan 2021 16:11:44 +0000 (01:11 +0900)
Follow-up for 9092113d93f61d67605f7c4a824b65a56b33fa59.

link_dirty() will be called later in this function when a DNS or domain
is dropped.

src/network/networkd-ndisc.c

index e45301eb8c63d4f0e2d157a0575b4d60d6c37e54..bcde253909edc947e2e6a4302d51a370a8d35a0d 100644 (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);