Re: icmp: account for ICMP out errors because of socket limit

2014-05-14 Thread David Miller
From: zhuyj Date: Mon, 12 May 2014 11:19:28 +0800 > Hi, Eric && David > > __ > || | | > | PC |<--->| MIPS 32 core | > || |__| > > When ping from a PC to a board (MIPS 32 core), because of socket > limit, > ping ech

Re: icmp: account for ICMP out errors because of socket limit

2014-05-11 Thread zhuyj
Hi, Eric && David This patch is similar to the following patch. commit 1f8438a853667d48055ad38384c63e94b32c6578 Author: Eric Dumazet Date: Sat Apr 3 15:09:04 2010 -0700 icmp: Account for ICMP out errors When ip_append() fails because of socket limit or memory shortage, increment

icmp: account for ICMP out errors because of socket limit

2014-05-11 Thread zhuyj
2014 11:07:20 +0800 Subject: [PATCH 1/1] icmp: account for ICMP out errors because of socket limit When icmp_xmit_lock fails because of socket limit or memory shortage, increment ICMP_MIB_OUTERRORS counter, so that "netstat -s" can report these errors. netstat -s | grep "ICMP messages