netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* netstat not tracking all packets
@ 2004-07-15 15:17 Chris Friesen
  0 siblings, 0 replies; only message in thread
From: Chris Friesen @ 2004-07-15 15:17 UTC (permalink / raw)
  To: netdev


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-07-15 15:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-15 15:17 netstat not tracking all packets Chris Friesen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).