Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Aug 2010 07:47:26 -0400
From:      Ed Maste <emaste@freebsd.org>
To:        Attilio Rao <attilio@FreeBSD.org>
Cc:        svn-src-projects@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r211029 - projects/sv/sys/net
Message-ID:  <20100808114725.GA34359@sandvine.com>
In-Reply-To: <201008071739.o77HdM2Y009458@svn.freebsd.org>
References:  <201008071739.o77HdM2Y009458@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 07, 2010 at 05:39:22PM +0000, Attilio Rao wrote:

> Author: attilio
> Date: Sat Aug  7 17:39:22 2010
> New Revision: 211029
> URL: http://svn.freebsd.org/changeset/base/211029
> 
> Log:
>   Add a tunable for nd_enable.
>   As long as TUNABLE_INT is discouraged, however, switch the type int -> long
>   and adjust accordingly the sysctl stubs.

This doesn't really make sense as far as I can tell - and particularly
for sysctls, using a long can introduce 32-bit compat issues.  I'd
prefer that this remain an int.

What benefit does using a long provide in this case?

-Ed



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