| To: | Linux Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx>, netdev@xxxxxxxxxxx |
|---|---|
| Subject: | why are error messages suppressed if IP_RECVERR is not set? |
| From: | Chris Friesen <cfriesen@xxxxxxxxxxxxxxxxxx> |
| Date: | Mon, 25 Aug 2003 11:08:43 -0400 |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020204 |
|
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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 2.6.0-test4][ATM][RESEND] fix ambassador.c, chas williams |
|---|---|
| Next by Date: | Re: [PATCH] convering bonding driver /proc interface to seq_file, Stephen Hemminger |
| Previous by Thread: | Patch for oops in ctc, Pete Zaitcev |
| Next by Thread: | [PATCH 1/4] Net device error logging, revised, Jim Keniston |
| Indexes: | [Date] [Thread] [Top] [All Lists] |