Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Aug 2020 19:30:45 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        "Alexander V. Chernikov" <melifaro@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r364465 - in head/sys: conf net net/route
Message-ID:  <2eda6522-c79e-48c6-71b9-39f9762a3416@FreeBSD.org>
In-Reply-To: <202008212134.07LLYq3K071532@repo.freebsd.org>
References:  <202008212134.07LLYq3K071532@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2eda6522-c79e-48c6-71b9-39f9762a3416>