[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20131214103929.GE23563@order.stressinduktion.org>
Date: Sat, 14 Dec 2013 11:39:29 +0100
From: Hannes Frederic Sowa <hannes@...essinduktion.org>
To: David Miller <davem@...emloft.net>
Cc: dvlasenk@...hat.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, kuznet@....inr.ac.ru,
jmorris@...ei.org, yoshfuji@...ux-ipv6.org, kaber@...sh.net,
jpirko@...hat.com
Subject: Re: [patch net-next v3] ipv6: log autoconfiguration failures
On Fri, Dec 13, 2013 at 05:57:09PM -0500, David Miller wrote:
> From: Denys Vlasenko <dvlasenk@...hat.com>
> Date: Fri, 13 Dec 2013 16:45:47 +0100
>
> > If ipv6 auto-configuration does not work, currently it's hard
> > to track what's going on. This change adds log messages
> > (at debug level) on every code path where ipv6 autoconf fails.
> >
> > v3: changed pr_debug's to pr_warn's.
> >
> > Signed-off-by: Denys Vlasenko <dvlasenk@...hat.com>
>
> I already made it clear I want to see statistics added instead of log
> messages for this.
Hmm... I gave this a bit more thought.
I would go with counters, too. What if we add something like per interface
softerror states. So that we e.g. can see that one protocol had an error on an
interface and it needs attention of an administrator?
E.g.
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP,SOFT_FAIL>
Would catch the eyes more quickly. If counters are implemented we could
do that completly in user space and add that flag as soon as one of the
observed counters are above 0 (and of course, iproute needs colors).
What do you think?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists