22.08.2020, 00:31, "Jung-uk Kim" <j...@freebsd.org>:
> On 20. 8. 21., Alexander V. Chernikov wrote:
>> Author: melifaro
>> Date: Fri Aug 21 21:34:52 2020
>> New Revision: 364465
>> URL: https://svnweb.freebsd.org/changeset/base/364465
>>
>> Log:
>> Make net.fibs growable.
>>
>> Allow to dynamically grow the amount of fibs in each vnet.
>>
>> This change alters current behavior. Currently, if one defines
>> ROUTETABLES > 1 in the kernel config, each vnet will be created
>> with the number of fibs defined in the kernel config.
>> After this commit vnets will be created with fibs=1.
>>
>> Dynamic net.fibs is not compatible with net.add_addr_allfibs.
>> The plan is to deprecate the latter and make
>> net.add_addr_allfibs=0 default behaviour.
>>
>> Reviewed by: glebius
>> Relnotes: yes
>> Differential Revision: https://reviews.freebsd.org/D26062
>>
>> Added:
>> head/sys/net/route/route_tables.c (contents, props changed)
>> Modified:
>> head/sys/conf/files
>> head/sys/net/route.c
>> head/sys/net/route.h
>> head/sys/net/route/route_var.h
>
> ...
>
> This commit broke the kernel build and the following patch fixed it for me.
Could you please name the architecture? ci.freebsd.org looks pretty green so
far.
>
> Index: sys/net/route/route_tables.c
> ===================================================================
> --- sys/net/route/route_tables.c (revision 364466)
> +++ sys/net/route/route_tables.c (working copy)
> @@ -44,6 +44,7 @@ __FBSDID("$FreeBSD$");
> #include <sys/jail.h>
> #include <sys/sysctl.h>
> #include <sys/syslog.h>
> +#include <sys/proc.h>
> #include <sys/kernel.h>
> #include <sys/lock.h>
> #include <sys/sx.h>
>
> Jung-uk Kim
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"