Fw: [Serdev] problem with recvfrom() in udp_rcv_loop()
Andrea Bondavalli
a.bondavalli at inet.it
Tue May 4 11:59:07 UTC 2004
> This error means the packet has a bad checksum. If you verify this with
> tcpdump/ethereal you can see this.
You are right ! The UDP checksum of those packets is wrong.
I checked it with Ethereal.
Thank you,
Andrea
----- Original Message -----
From: "Andrei Pelinescu-Onciul" <pelinescu-onciul at fokus.fraunhofer.de>
To: "Andrea Bondavalli" <a.bondavalli at inet.it>
Cc: <serdev at lists.iptel.org>
Sent: Tuesday, May 04, 2004 1:34 PM
Subject: Re: Fw: [Serdev] problem with recvfrom() in udp_rcv_loop()
> 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