Fw: [Serdev] problem with recvfrom() in udp_rcv_loop()

Andrei Pelinescu-Onciul pelinescu-onciul at fokus.fraunhofer.de
Tue May 4 11:34:38 UTC 2004


On May 04, 2004 at 13:15, Andrea Bondavalli <a.bondavalli at inet.it> wrote:
> Hi,
> 
> this is just to let you know that I'm able to reproduce the
> "Resource temporarily unavailable" with the recvfrom() function
> also with the C code that I enclosed to this e-mail.

This error means the packet has a bad checksum. If you verify this with
tcpdump/ethereal you can see this.

(the linux kernel will return an EAGAIN error, if an udp packet with a
bad checksum is about to be delivered on a blocking socket)

I think I will change the error message to: "udp packet with bad checksum
received form x.x.x.x" (too many questions about it).

Andrei




More information about the Serdev mailing list