From beaae1f8d1d958e95117550604aa6462d1a636b8 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: May 06 2021 12:51:08 +0000 Subject: network: neighbor: downgrade log level As commented in the code, kernel sends messages about neighbors after a link is removed. (cherry picked from commit 27a213392f642fdd2a9dbce914bbfda9a72aafc1) --- diff --git a/src/network/networkd-neighbor.c b/src/network/networkd-neighbor.c index ef09665..205351c 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; }