Mikolaj Golub f122b319eb A complete duplication of binding should be allowed if on both new and
duplicated sockets a multicast address is bound and either
SO_REUSEPORT or SO_REUSEADDR is set.

But actually it works for the following combinations:

  * SO_REUSEPORT is set for the fist socket and SO_REUSEPORT for the new;
  * SO_REUSEADDR is set for the fist socket and SO_REUSEADDR for the new;
  * SO_REUSEPORT is set for the fist socket and SO_REUSEADDR for the new;

and fails for this:

  * SO_REUSEADDR is set for the fist socket and SO_REUSEPORT for the new.

Fix the last case.

PR:		179901
MFC after:	1 month
2013-07-12 19:08:33 +00:00
..
2012-05-24 18:25:09 +00:00
2012-10-22 21:49:56 +00:00
2012-10-22 21:49:56 +00:00
2012-10-22 21:49:56 +00:00
2012-10-22 21:49:56 +00:00
2012-11-17 20:04:04 +00:00
2012-10-10 08:36:38 +00:00
2011-06-05 11:40:30 +00:00
2012-10-22 21:49:56 +00:00