bind error when using SO_REUSEPORT(implies SO_REUSEADDR)

John Baldwin jhb at freebsd.org
Tue Jul 16 15:33:39 UTC 2013


On Thursday, March 15, 2012 8:07:46 pm Sean Bruno wrote:
> 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 ... :-)

Did the recent commit to HEAD fix this btw?

-- 
John Baldwin


More information about the freebsd-net mailing list