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-08-07 07:52:25 +00:00
2013-05-11 19:05:38 +00:00
2012-10-12 09:24:24 +00:00
2012-09-06 07:03:56 +00:00
2013-07-03 18:48:43 +00:00
2013-07-03 18:48:43 +00:00
2012-11-25 14:25:08 +00:00
2013-06-02 10:35:08 +00:00
2012-11-17 20:04:04 +00:00
2012-05-24 23:03:23 +00:00
2012-11-27 19:07:28 +00:00