netstat not tracking all packets

From: Chris Friesen <hidden>
Date: 2004-07-15 15:17:59

We just ran into an issue where incoming IP packets were being dropped due to 
socket buffer overflow, but there were no statistics showing it.  Increasing the 
buffer size made the problems go away, but it was frustrating to not have 
accurate statistics.

After a bit of digging, I found the following path:

raw_v4_input
	skb_clone
	raw_rcv(sk, clone)
		raw_rcv_skb


If the socket rx buffer is full raw_rcv_skb then drops the packet without 
incrementing any counters.  There's a FIXME comment in there that looks like its 
been there for two years and counting.

Anyone have a fix for this, or know of other areas where the counters are not 
accurate?

Chris
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help