bind error when using SO_REUSEPORT(implies SO_REUSEADDR)
Sean Bruno
seanbru at yahoo-inc.com
Thu Mar 15 23:59:27 UTC 2012
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
More information about the freebsd-net
mailing list