Files
linux-st/include/linux
Eric Dumazet 1f8438a853 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>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-04-03 15:09:04 -07:00
..
2010-03-30 23:51:09 -07:00
2010-03-11 00:02:43 -08:00
2010-03-12 15:53:10 -08:00
2010-03-12 15:52:32 -08:00
2010-03-30 23:51:08 -07:00
2010-03-07 22:17:09 +01:00
2010-03-16 21:23:22 -07:00
2010-03-12 15:52:40 -08:00
2010-03-12 15:52:36 -08:00
2010-03-14 20:08:36 -04:00
2010-03-12 15:52:40 -08:00
2010-03-12 15:53:10 -08:00
2010-04-03 14:56:05 -07:00
2010-03-12 15:53:10 -08:00
2010-03-12 15:52:38 -08:00
2010-03-12 15:52:28 -08:00
2010-03-12 15:53:10 -08:00
2010-04-02 14:30:39 -07:00
2010-03-12 15:53:11 -08:00
2010-03-12 15:52:44 -08:00
2010-03-12 15:53:10 -08:00
2010-03-12 15:52:43 -08:00
2010-03-12 15:52:44 -08:00
2010-03-16 21:23:18 -07:00
2010-04-03 15:09:04 -07:00
2010-03-12 15:52:36 -08:00
2010-03-12 15:52:32 -08:00