From: "David S. Miller" <davem@redhat.com>
To: "Mathieu Giguere (LMC)" <lmcmgig@lmc.ericsson.se>
Cc: "'linux-kernel@vger.kernel.org'" <linux-kernel@vger.kernel.org>,
"Claude LeFrancois (LMC)" <lmcclef@lmc.ericsson.se>
Subject: Re: UDP stop transmitting packets!!!
Date: Fri, 16 Mar 2001 13:28:49 -0800 (PST) [thread overview]
Message-ID: <15026.34193.887865.142525@pizda.ninka.net> (raw)
In-Reply-To: <7E67DE81C0B6D311B30500805FFEBAAE03078E3E@lmc35.lmc.ericsson.se>
In-Reply-To: <7E67DE81C0B6D311B30500805FFEBAAE03078E3E@lmc35.lmc.ericsson.se>
Mathieu Giguere (LMC) writes:
> The problem with the previous code, when the queue become full (for any
> reason) you don't try to de-queue packet form it.
That is right, UDP is an unreliable transport so it doesn't
matter which packets we drop in such a case.
In fact, the current choice is optimal. If the problem is that we are
being hit with too many packets too quickly, the most desirable course
of action is the one which requires the least amount of computing
power. Doing nothing to the receive queue is better than trying to
"dequeue" some of the packets there to allow the new one to be added.
Later,
David S. Miller
davem@redhat.com
next prev parent reply other threads:[~2001-03-16 21:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-16 21:16 Mathieu Giguere (LMC)
2001-03-16 21:28 ` David S. Miller [this message]
2001-03-16 22:10 ` Craig Milo Rogers
2001-03-16 21:43 Mathieu Giguere (LMC)
2001-03-16 21:46 ` David S. Miller
2001-03-16 21:47 Mathieu Giguere (LMC)
2001-03-16 21:52 ` David S. Miller
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=15026.34193.887865.142525@pizda.ninka.net \
--to=davem@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lmcclef@lmc.ericsson.se \
--cc=lmcmgig@lmc.ericsson.se \
/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
all inboxes | Powered by JetHome®