IP_MAX_MEMBERSHIPS story.

Robert Watson rwatson at FreeBSD.org
Fri May 12 04:00:05 UTC 2006


On Thu, 11 May 2006, Stephen Clark wrote:

>> I'm loosely of the opinion that the membership array should be variable 
>> length, and that we should default it to 20, but have a significantly 
>> larger maximum.  It's not horribly efficient, but also wouldn't be so 
>> particularly terrible either.
>> 
> I think it should be tunable other than going in a changing the source code, 
> which I have to do every time I do a cvsup.

I'm suggesting we have a dynamically sizes array, which defaults to a limit of 
20, but can be reallocated and scaled as necessary up to a larger maximum.

Robert N M Watson


More information about the freebsd-net mailing list