netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chris Friesen <cfriesen@nortelnetworks.com>
To: netdev@oss.sgi.com
Subject: netstat not tracking all packets
Date: Thu, 15 Jul 2004 11:17:59 -0400	[thread overview]
Message-ID: <40F6A027.5050201@nortelnetworks.com> (raw)


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

                 reply	other threads:[~2004-07-15 15:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40F6A027.5050201@nortelnetworks.com \
    --to=cfriesen@nortelnetworks.com \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).