[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1275492754.2725.192.camel@edumazet-laptop>
Date: Wed, 02 Jun 2010 17:32:34 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Christoph Lameter <cl@...ux-foundation.org>
Cc: netdev@...r.kernel.org, Stephen Hemminger <shemminger@...tta.com>,
David Miller <davem@...emloft.net>
Subject: Re: [PATCH] IP: Increment INADDRERRORS if routing for a packet is
not successful
Le mercredi 02 juin 2010 à 10:27 -0500, Christoph Lameter a écrit :
> Yes but they are not increment any counter. If packets are dropped because
> of the rp_filter setting interfering f.e. then the packets vanish without
> any accounting.
>
But packets are vanishing either way.
> LINUX_MIB_INROUTEERRORS? Does it mean I can create a series of new
> counters that allow us to diagnose and distinguish all the different
> causes of packet loss? We would love to have that.
>
For an example, you could take a look at commit 907cdda5205b
(tcp: Add SNMP counter for DEFER_ACCEPT)
Its pretty straigthforward, and wont conflict with monitoring apps.
--
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