Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jun 2009 15:54:42 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org,  svn-src-head@freebsd.org
Subject:   Re: svn commit: r193232 - in head: . sys/net sys/netinet sys/netinet6 sys/nfsclient sys/sys usr.bin/netstat
Message-ID:  <20090601155120.D12292@maildrop.int.zabbadoz.net>
In-Reply-To: <200906011549.n51FngRA083299@svn.freebsd.org>
References:  <200906011549.n51FngRA083299@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 1 Jun 2009, Bjoern A. Zeeb wrote:

> Author: bz
> Date: Mon Jun  1 15:49:42 2009
> New Revision: 193232
> URL: http://svn.freebsd.org/changeset/base/193232
>
> Log:
>  Convert the two dimensional array to be malloced and introduce
>  an accessor function to get the correct rnh pointer back.
>
>  Update netstat to get the correct pointer using kvm_read()
>  as well.
>
>  This not only fixes the ABI problem depending on the kernel
>  option but also permits the tunable to overwrite the kernel
>  option at boot time up to MAXFIBS, enlarging the number of
>  FIBs without having to recompile. So people could just use
>  GENERIC now.
>
>  Reviewed by:	julian, rwatson, zec
>  X-MFC:		not possible

The solution is not ideal but will help FreeBSD 8.x.

Julian has suggested a cleaner way but I considered that to be to
late and intrusive for 8.x; this way we will have enough time for
9.x to convert this io per AF/domain handler routines.


Note: I will garbage collect a lot of opt_route.h dependencies by the
end of the week as that option no longer has to be visible to most of
the tree.


PS: I cannot spell 'routing' correctly usually so whoever touches
UPDATING next please fix the spelling;-)

-- 
Bjoern A. Zeeb                      The greatest risk is not taking one.



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