]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r233113:
authorbz <bz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 6 May 2012 20:26:22 +0000 (20:26 +0000)
committerbz <bz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 6 May 2012 20:26:22 +0000 (20:26 +0000)
commitdc1aa030d58e16760891266c4fef89f14b46f8ed
tree87fd5a85500b23bc579a150fe294fa25bb88c888
parent3d575bf3ac81bfb0edb8374147514c21aa48534d
MFC r233113:

 Hide kernel option ROUTETABLES evaluations in the implementation
 rather than the header file.  With this also move RT_MAXFIBS and
 RT_NUMFIBS into the implemantion to avoid further usage in other
 code. rt_numfibs is all that should be needed.

 This allows users to change the number of FIBs from 1..RT_MAXFIBS(16)
 dynamically using the tunable without the need to change the kernel
 config for the maximum anymore.  This means that the multi-FIB
 feature is now fully available with GENERIC kernels.
 The kernel option ROUTETABLES can still be used to set the default
 numbers of FIBs in absence of the tunable.

git-svn-id: svn://svn.freebsd.org/base/stable/9@235103 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/net/route.c
sys/net/route.h