Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jun 1999 17:19:59 +0200
From:      Pierre Beyssac <beyssac@enst.fr>
To:        dg@root.com, "Andrew W. Smith" <awsmith@rip.ops.neosoft.com>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: 16 bit int for interface "reference count"
Message-ID:  <19990629171959.A87648@enst.fr>
In-Reply-To: <199906290536.WAA11089@implode.root.com>; from David Greenman on Mon, Jun 28, 1999 at 10:36:57PM -0700
References:  <199906290224.VAA14735@rip.ops.neosoft.com> <199906290536.WAA11089@implode.root.com>

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.
-- 
Pierre Beyssac		pb@enst.fr


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?19990629171959.A87648>