[PATCH] Re: IP_MAX_MEMBERSHIPS story.

Bruce M Simpson bms at spc.org
Sun May 14 14:26:28 UTC 2006


On Sun, May 14, 2006 at 03:00:44PM +0100, Bruce M Simpson wrote:
> So I will be updating the patch in the next 24 hours. Given that it
> seems stable for values 2047 <= n <= 4095 with SOCK_DGRAM I am inclined
> to commit with the maximum raised to 4095 and lazy allocation in place.

Committed on HEAD with some fixups, after regression testing on
an SMP (dual i386) machine.

The default number of multicast groups per socket available is now 31,
with a final maximum of 4095.

The structures are lazy-allocated. Sockets which do not use IPv4 multicast
need not waste memory.

Thanks,
BMS


More information about the freebsd-net mailing list