Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Apr 1999 07:29:14 -0700 (PDT)
From:      John Polstra <jdp@polstra.com>
To:        Pierre Beyssac <beyssac@enst.fr>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Any action on PR 10570 ? getting closer to 65K :-(
Message-ID:  <XFMail.990430072914.jdp@polstra.com>
In-Reply-To: <19990430122651.A11742@enst.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
Pierre Beyssac wrote:

> Wouldn't it be sensible to issue a warning (or panic) when
> increasing the reference count reaches 0, rather than causing a
> later kernel segfault? It would involve some overhead though, and
> I'm not sure having 2^32 routes is currently realistic since most
> machines don't even have that many bytes of RAM, but it might be
> true one day...

It would be pretty hard to create 2^32 routes, given that IPv4 only
has 32-bit addresses. :-) Also, if you time it I suspect you'll find
that it would take a geological lifetime on a fast machine to add that
many routes.

I think it makes more sense to increase the size of the reference
count as discussed, rather than adding checks that add more complexity
and overhead.

John
---
  John Polstra                                               jdp@polstra.com
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Self-interest is the aphrodisiac of belief."           -- James V. DeLong



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.990430072914.jdp>