bind error when using SO_REUSEPORT(implies SO_REUSEADDR)

Sean Bruno seanbru at yahoo-inc.com
Fri Mar 16 00:18:12 UTC 2012


On Thu, 2012-03-15 at 16:59 -0700, Sean Bruno wrote:
> Hey, I just found a bind bug ticket in my queue about bind.  I noted
> that on stable/6 stable/7 stable/9 & head the referenced code "fails".
> 
> It seems that this is a problem, but I have no idea if its a real
> problem or not.  Our devs think it is.  Anyway, here is a code snippet
> to show the failure in bind.  On linux/solaris this does not fail.
> 
> http://people.freebsd.org/~sbruno/bind_test.c
> 
> simple compile with gcc -o test test.c and run as normal user.
> 
> Sean
> 

this is bind() not bind ... :-)

Sean



More information about the freebsd-net mailing list