From owner-freebsd-net@FreeBSD.ORG Fri May 12 03:44:03 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFBD516A56C for ; Fri, 12 May 2006 03:44:03 +0000 (UTC) (envelope-from Stephen.Clark@seclark.us) Received: from smtpout05-04.prod.mesa1.secureserver.net (smtpout05-04.prod.mesa1.secureserver.net [64.202.165.221]) by mx1.FreeBSD.org (Postfix) with SMTP id D4B3B43F26 for ; Fri, 12 May 2006 03:12:30 +0000 (GMT) (envelope-from Stephen.Clark@seclark.us) Received: (qmail 28391 invoked from network); 12 May 2006 03:12:30 -0000 Received: from unknown (24.144.77.138) by smtpout05-04.prod.mesa1.secureserver.net (64.202.165.221) with ESMTP; 12 May 2006 03:12:30 -0000 Message-ID: <4463FD1D.9010600@seclark.us> Date: Thu, 11 May 2006 23:12:29 -0400 From: Stephen Clark User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22smp i686; en-US; m18) Gecko/20010110 Netscape6/6.5 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Robert Watson References: <20060509122801.GA65297@spc.org> <20060509131517.GB79277@spc.org> <20060512030152.X20138@fledge.watson.org> In-Reply-To: <20060512030152.X20138@fledge.watson.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: pavlin@icir.org, atanu@icir.org, freebsd-net@freebsd.org Subject: Re: IP_MAX_MEMBERSHIPS story. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Stephen.Clark@seclark.us List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 03:44:22 -0000 Robert Watson wrote: >On Tue, 9 May 2006, Bruce M Simpson wrote: > > > >>On Tue, May 09, 2006 at 01:28:01PM +0100, Bruce M Simpson wrote: >> >> >>>A user recently reported a problem with running into IP_MAX_MEMBERSHIPS >>>on a system running FreeBSD with IPv4 forwarding enabled, and running >>>the OSPF routing protocol. >>> >>> >>More background. People may be wondering why this is even an issue for >>FreeBSD as a router. >> >>The answer: the imo_membership array contains members which exist as >>separate entries for each ifnet in the system, and the system where this was >>observed to be a problem had a number of ifnet interfaces which was larger >>than IP_MAX_MEMBERSHIPS (20). >> >> > >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. > >Robert N M Watson >_______________________________________________ >freebsd-net@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-net >To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > > 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. My $.02 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)