Re: UDP recvmsg blocks after select(), 2.6 bug?

Dan Kegel
2004-10-07T05:46:24Z

Joris wrote:
> On Wed, 6 Oct 2004, Andries Brouwer wrote:
>> Does this really happen?
>
> Yes. Finally got my raw-udp-with-wrong-checksum sending program to work
> over localhost and it hangs recvfrom pretty good.
>
>> All kernel versions?
>
> Quick guess: probably since late 2.4. Source of 2.4.27 udp.c is similar to
> 2.6.9, but 2.4.17 returns EAGAIN even for blocking sockets, apparently
> this was "fixed" later on.

It would be nice to know how other operating systems behave
when receiving UDP packets with bad checksums. Can someone
try BSD and Solaris?

- Dan

--
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change