From: Shan Wei <shanwei88@gmail.com>
To: Javier Domingo <javierdo1@gmail.com>
Cc: netdev@vger.kernel.org
Subject: Re: Specific question about packet dropping
Date: Wed, 28 Nov 2012 19:45:29 +0800 [thread overview]
Message-ID: <50B5F959.5080000@gmail.com> (raw)
In-Reply-To: <CALZVapnQrH9YvCOh8OnGFs1V28nPfX4p=GK=M0VnqHjZCU8=1Q@mail.gmail.com>
Javier Domingo said, at 2012/11/28 18:40:
> Hi,
>
> Where are packets dropped?
>
> I reading code I think just found:
> - In the NIC
> - In the netif_receive_skb
>
> Is there any other place I can have missed?
There is many reasons, following is not whole.
For receiver:
1. NIC
2. __netif_receive_skb(unknown packet type)
3. ip_rcv(abnormal packet, route reason...)
4. tcp/udp (unknown port, receive buff limit..)
For Sender:
1. tcp/udp(send buffer limit)
2. ip(route reason....)
3. arp(resolved_discards)
4. qdisc(queue limit)
Best Regards
Shan Wei
>
> Javier Domingo
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2012-11-28 11:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-28 10:40 Specific question about packet dropping Javier Domingo
2012-11-28 11:45 ` Shan Wei [this message]
[not found] ` <CALZVapkZpRRh+ruf-QWbv_pFYtZgdx7US7Zc6x0kgMmmAsnAPg@mail.gmail.com>
2012-11-28 12:23 ` Shan Wei
2012-11-28 16:52 ` Javier Domingo
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=50B5F959.5080000@gmail.com \
--to=shanwei88@gmail.com \
--cc=javierdo1@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.