]> Git Repo - linux.git/commitdiff
net/ipv6: lower the level of "link is not ready" messages
authorLubomir Rintel <[email protected]>
Mon, 21 Jan 2019 13:54:20 +0000 (14:54 +0100)
committerDavid S. Miller <[email protected]>
Wed, 23 Jan 2019 04:42:39 +0000 (20:42 -0800)
This message gets logged far too often for how interesting is it.

Most distributions nowadays configure NetworkManager to use randomly
generated MAC addresses for Wi-Fi network scans. The interfaces end up
being periodically brought down for the address change. When they're
subsequently brought back up, the message is logged, eventually flooding
the log.

Perhaps the message is not all that helpful: it seems to be more
interesting to hear when the addrconf actually start, not when it does
not. Let's lower its level.

Signed-off-by: Lubomir Rintel <[email protected]>
Acked-By: Thomas Haller <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/ipv6/addrconf.c

index 0c9e20ac01abbec3414bf39c49b829b15848ab7f..84c358804355332c354c222a6d43096adc5c2f6d 100644 (file)
@@ -3495,8 +3495,8 @@ static int addrconf_notify(struct notifier_block *this, unsigned long event,
 
                        if (!addrconf_link_ready(dev)) {
                                /* device is not ready yet. */
-                               pr_info("ADDRCONF(NETDEV_UP): %s: link is not ready\n",
-                                       dev->name);
+                               pr_debug("ADDRCONF(NETDEV_UP): %s: link is not ready\n",
+                                        dev->name);
                                break;
                        }
 
This page took 0.056189 seconds and 4 git commands to generate.