From: Hasso Tepper <hasso@estpak.ee>
To: davids@webmaster.com
Cc: "Linux Kernel" <linux-kernel@vger.kernel.org>
Subject: Re: raw sockets and blocking
Date: Wed, 18 Feb 2004 10:43:12 +0200 [thread overview]
Message-ID: <200402181043.12913.hasso@estpak.ee> (raw)
In-Reply-To: <MDEHLPKNGKAHNMBLJOLKIEMGKHAA.davids@webmaster.com>
David Schwartz wrote:
> > I'm guessing the driver or network layer is
> > blocking the socket because it is waiting for the link to come
> > back, however would it not be better to discard the packet,
> > especially a raw packet?
>
> If you want to discard the packet, you do it. Why should the
> kernel accept a packet just to discard it if it's smart enough to
> not accept it?
>From "man sendmsg" in Debian unstable (manpage is dated 2003-10-25).
ENOBUFS
The output queue for a network interface was full. This generally
indicates that the interface has stopped sending, but may be
caused by transient congestion. (Normally, this does not occur in
Linux. Packets are just silently dropped when a device queue
overflows.)
--
Hasso Tepper
Elion Enterprises Ltd.
WAN administrator
next prev parent reply other threads:[~2004-02-18 8:43 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-18 1:33 raw sockets and blocking Paul Jakma
2004-02-18 5:37 ` David Schwartz
2004-02-18 6:42 ` Hasso Tepper
2004-02-18 11:42 ` David Schwartz
2004-02-19 6:28 ` Paul Jakma
2004-02-19 7:53 ` Jamie Lokier
2004-02-19 8:34 ` Paul Jakma
2004-02-19 12:40 ` Hasso Tepper
2004-02-19 12:54 ` Paul Jakma
2004-03-22 7:14 ` Hasso Tepper
2004-02-18 8:43 ` Hasso Tepper [this message]
2004-02-19 6:20 ` Paul Jakma
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=200402181043.12913.hasso@estpak.ee \
--to=hasso@estpak.ee \
--cc=davids@webmaster.com \
--cc=linux-kernel@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