From: Yu Watanabe Date: Wed, 28 Apr 2021 13:18:45 +0000 (+0900) Subject: network: neighbor: downgrade log level X-Git-Tag: v249-rc1~327^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=27a213392f642fdd2a9dbce914bbfda9a72aafc1;p=thirdparty%2Fsystemd.git network: neighbor: downgrade log level As commented in the code, kernel sends messages about neighbors after a link is removed. --- diff --git a/src/network/networkd-neighbor.c b/src/network/networkd-neighbor.c index ef09665a854..205351c2a2d 100644 --- a/src/network/networkd-neighbor.c +++ b/src/network/networkd-neighbor.c @@ -500,10 +500,9 @@ int manager_rtnl_process_neighbor(sd_netlink *rtnl, sd_netlink_message *message, r = link_get(m, ifindex, &link); if (r < 0 || !link) { - /* when enumerating we might be out of sync, but we will get the neighbor again, so just - * ignore it */ - if (!m->enumerating) - log_warning("rtnl: received neighbor for link '%d' we don't know about, ignoring.", ifindex); + /* when enumerating we might be out of sync, but we will get the neighbor again. Also, + * kernel sends messages about neighbors after a link is removed. So, just ignore it. */ + log_debug("rtnl: received neighbor for link '%d' we don't know about, ignoring.", ifindex); return 0; }