From: David Miller <davem@davemloft.net>
To: eric.dumazet@gmail.com
Cc: afleming@gmail.com, netdev@vger.kernel.org
Subject: Re: [PATCH net-next-2.6] icmp: Account for ICMP out errors
Date: Sat, 03 Apr 2010 15:09:24 -0700 (PDT) [thread overview]
Message-ID: <20100403.150924.192361698.davem@davemloft.net> (raw)
In-Reply-To: <1270192174.1936.33.camel@edumazet-laptop>
From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Fri, 02 Apr 2010 09:09:34 +0200
> [PATCH net-next-2.6] icmp: Account for ICMP out errors
>
> When ip_append() fails because of socket limit or memory shortage,
> increment ICMP_MIB_OUTERRORS counter, so that "netstat -s" can report
> these errors.
>
> LANG=C netstat -s | grep "ICMP messages failed"
> 0 ICMP messages failed
>
> For IPV6, implement ICMP6_MIB_OUTERRORS counter as well.
>
> # grep Icmp6OutErrors /proc/net/dev_snmp6/*
> /proc/net/dev_snmp6/eth0:Icmp6OutErrors 0
> /proc/net/dev_snmp6/lo:Icmp6OutErrors 0
>
> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Applied, thanks Eric.
prev parent reply other threads:[~2010-04-03 22:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-26 21:48 ICMP echo reply fails Andy Fleming
2010-03-26 22:06 ` Eric Dumazet
2010-03-26 22:46 ` Eric Dumazet
2010-03-27 0:56 ` Andy Fleming
2010-04-02 7:09 ` [PATCH net-next-2.6] Eric Dumazet
2010-04-03 22:09 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100403.150924.192361698.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=afleming@gmail.com \
--cc=eric.dumazet@gmail.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox