From: Chris Friesen <cfriesen@nortelnetworks.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
netdev@oss.sgi.com
Subject: why are error messages suppressed if IP_RECVERR is not set?
Date: Mon, 25 Aug 2003 11:08:43 -0400 [thread overview]
Message-ID: <3F4A267B.1000405@nortelnetworks.com> (raw)
I'm tracking down an issue where we are sending udp packets and they are
being dropped (I suspect) in the device queue.
In ip_build_xmit() we get the error code back saying that the packet was
dropped, but unless IP_RECVERR is set, it seems that this error is
hidden from userspace.
I notice that the man page says that sendto will never give an errno of
ENOBUFS, but if you turn on IP_RECVERR this is exactly what will happen.
I guess I have two questions then: 1) why do we hide the fact that we've
dropped the packet, and 2) why doesn't the man page talk about the
IP_RECVERR option?
I'm using 2.4.18, if it matters.
Thanks,
Chris
--
Chris Friesen | MailStop: 043/33/F10
Nortel Networks | work: (613) 765-0557
3500 Carling Avenue | fax: (613) 765-2986
Nepean, ON K2H 8E9 Canada | email: cfriesen@nortelnetworks.com
reply other threads:[~2003-08-25 15:08 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=3F4A267B.1000405@nortelnetworks.com \
--to=cfriesen@nortelnetworks.com \
--cc=linux-kernel@vger.kernel.org \
--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).