netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Min Wang <ser.basis@gmail.com>
To: netdev@vger.kernel.org
Subject: udp packet not reach application
Date: Mon, 29 Apr 2013 09:36:06 -0400	[thread overview]
Message-ID: <517E7746.6040802@gmail.com> (raw)
In-Reply-To: <517AC60F.9010609@gmail.com>

HI

since Linux-net mailing list no longer active, so post here. Hope it is  
the right place.


I have following issue ( kernel 3.2.28), google around, could not find 
any good similar case.

one the host:
     all the  /proc/sys/net/ipv4/conf/*/rp_filter are 0

    a device sent udp traffics to  my udp app ( listen on port x)


At first, it was working as my app did get udp traffic.

After a while, strace showed that my app stuck at recvfrom, no udp traffic.

But tcpdump did show that the udp traffic was still coming/alive.


Even if I restart my app, strace still showed it was stuck at recv_from.


it seems the kernel stop or did not deliver the udp packet to my app at 
some point.


So I have to restart NIC interface, then I could see udp traffic 
received at my app. (strange also?)


What could be wrong? Driver? or Kernel or my app?

At which point the kernel could possibly stop delivering the packets to 
upper layer even though traffic seen from tcpdump?


Thanks a lot!



min

       reply	other threads:[~2013-04-29 13:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <517AC60F.9010609@gmail.com>
2013-04-29 13:36 ` Min Wang [this message]
2013-04-29 16:26   ` udp packet not reach application Rick Jones
2013-04-30  2:15   ` Cong Wang

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=517E7746.6040802@gmail.com \
    --to=ser.basis@gmail.com \
    --cc=netdev@vger.kernel.org \
    /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).