diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-04-28 22:18:45 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-04-29 03:16:30 +0900 |
commit | 27a213392f642fdd2a9dbce914bbfda9a72aafc1 (patch) | |
tree | 10022458b0a018b6a72d6a9c41765c9d740e692c /src/network | |
parent | 83e7c37b19bd36c78b235ac3047b758fcf82ad78 (diff) | |
download | systemd-27a213392f642fdd2a9dbce914bbfda9a72aafc1.tar.gz |
network: neighbor: downgrade log level
As commented in the code, kernel sends messages about neighbors after
a link is removed.
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/networkd-neighbor.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/network/networkd-neighbor.c b/src/network/networkd-neighbor.c index ef09665a85..205351c2a2 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; } |