[PATCH] Re: IP_MAX_MEMBERSHIPS story.

Stephen Clark Stephen.Clark at seclark.us
Wed May 17 15:35:32 UTC 2006


Bruce M Simpson wrote:

>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
>_______________________________________________
>freebsd-net at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-net
>To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>
>  
>
Hi Bruce,

I've been running the patch since Monday and all appears well - I have 
100 vpn/gre tunnels
with ospf running accross all the tunnels and I see all my neighbors.

Great work - FreeBSD people ROCK!

Thanks,
Steve

-- 

"They that give up essential liberty to obtain temporary safety, 
deserve neither liberty nor safety."  (Ben Franklin)

"The course of history shows that as a government grows, liberty 
decreases."  (Thomas Jefferson)





More information about the freebsd-net mailing list