From owner-freebsd-net Tue Jun 29 8:20:30 1999 Delivered-To: freebsd-net@freebsd.org Received: from enst.enst.fr (enst.enst.fr [137.194.2.16]) by hub.freebsd.org (Postfix) with ESMTP id DF7BF14E12 for ; Tue, 29 Jun 1999 08:20:25 -0700 (PDT) (envelope-from beyssac@enst.fr) Received: from bofh.enst.fr (bofh-2.enst.fr [137.194.2.37]) by enst.enst.fr (8.9.1a/8.9.1) with ESMTP id RAA07990; Tue, 29 Jun 1999 17:20:00 +0200 (MET DST) Received: by bofh.enst.fr (Postfix, from userid 12426) id A38A3D21A; Tue, 29 Jun 1999 17:19:59 +0200 (CEST) Message-ID: <19990629171959.A87648@enst.fr> Date: Tue, 29 Jun 1999 17:19:59 +0200 From: Pierre Beyssac To: dg@root.com, "Andrew W. Smith" Cc: freebsd-net@FreeBSD.ORG Subject: Re: 16 bit int for interface "reference count" References: <199906290224.VAA14735@rip.ops.neosoft.com> <199906290536.WAA11089@implode.root.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <199906290536.WAA11089@implode.root.com>; from David Greenman on Mon, Jun 28, 1999 at 10:36:57PM -0700 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 in PR kern/10570. Tested by and me under -current. -- Pierre Beyssac pb@enst.fr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message