Re: SO_REUSEADDR redux

From: David S. Miller (davem@redhat.com)
Date: Thu Feb 01 2001 - 21:18:55 EST


Paul D. Smith writes:
> I agree, and so does Solaris/FreeBSD, but Linux doesn't. See below for
> a test program. Maybe I'm doing something screwed up.

I think I'm starting to get a hold on this. Can you do a test
for me?

Write a small test program, similar to your TCP one, which instead
uses UDP and let me know what FreeBSD and Solaris do in that case.
Of course, skip the listen part.

I think the test for port reuse in tcp_{v4,v6}_get_port is buggy.
I'll go study this and fix it up... but please do the test I asked
anyways.

Later,
David S. Miller
davem@redhat.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Feb 07 2001 - 21:00:14 EST