Date: Tue, 29 Jun 1999 09:48:44 -0700 From: David Greenman <dg@root.com> To: Pierre Beyssac <beyssac@enst.fr> Cc: "Andrew W. Smith" <awsmith@rip.ops.neosoft.com>, freebsd-net@FreeBSD.ORG Subject: Re: 16 bit int for interface "reference count" Message-ID: <199906291648.JAA12174@implode.root.com> In-Reply-To: Your message of "Tue, 29 Jun 1999 17:19:59 %2B0200." <19990629171959.A87648@enst.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
>On Mon, Jun 28, 1999 at 10:36:57PM -0700, David Greenman wrote: >> on wcarchive, however, as it has a large number of TCP connections (and >> each one holds a reference). In any case, it is currently 16bits in >> FreeBSD and should be increased to 32bits. > >It's been changed to 32 bits a while ago (shortly after 3.2-RELEASE), >both on -current and -stable. > >Anyway the fix is pretty trivial if anyone using 3.2 or before is >affected: you apparently just need to recompile a kernel. > >revision 1.13 >date: 1999/05/16 17:09:20; author: pb; state: Exp; lines: +2 -2 >PR: kern/10570 >Submitted by: adrian@freebsd.org > >Change reference count in struct ifaddr to a u_int, to be able >to handle more than 2^16 routes to the same interface. > >Fix suggested by Andrew Bangs <andrewb@demon.net> in PR kern/10570. >Tested by <adrian@freebsd.org> and me under -current. Actually, I was looking at the rt_refcnt element in struct rtentry which is still 16 bits. -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project - http://www.freebsd.org Creator of high-performance Internet servers - http://www.terasolutions.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906291648.JAA12174>