[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100403.150924.192361698.davem@davemloft.net>
Date: Sat, 03 Apr 2010 15:09:24 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: afleming@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH net-next-2.6] icmp: Account for ICMP out errors
From: Eric Dumazet <eric.dumazet@...il.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@...il.com>
Applied, thanks Eric.
--
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