Files
ubports_kernel_google_msm/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-01 15:11:32 -05:00
2010-03-12 15:52:32 -08:00
2010-02-05 07:35:05 -08:00
2010-03-30 23:51:08 -07:00
2010-02-09 11:13:56 +01:00
2010-03-07 22:17:09 +01:00
2010-03-02 12:23:42 +01:00
2010-03-02 12:23:49 +01:00
2010-03-16 21:23:22 -07:00
2010-02-18 14:08:38 -08:00
2010-02-17 16:35:17 -08:00
2010-02-02 07:32:29 -08: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-02-03 17:39:50 +11:00
2010-03-12 15:53:10 -08:00
2010-02-09 11:13:56 +01:00
2010-02-19 03:35:12 -05: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-02-10 23:49:08 +09:00
2010-02-03 20:32:28 -08:00
2010-02-14 07:13:47 -07:00
2010-02-23 23:14:47 -08:00
2010-04-02 14:30:39 -07:00
2010-03-12 15:53:11 -08:00
2010-03-05 00:20:31 +01:00
2010-02-10 17:47:17 -08:00
2010-03-12 15:52:44 -08:00
2010-03-02 14:28:49 -05:00
2010-03-12 15:53:10 -08:00
2010-03-12 15:52:43 -08:00
2010-03-02 11:39:15 +09:00
2010-02-16 13:38:56 +09: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
2010-02-18 15:43:09 -08:00