Date: Tue, 08 Sep 2020 22:40:30 +0100 From: Alexander V. Chernikov <melifaro@ipfw.ru> To: "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org> Subject: Re: svn commit: r365475 - head/sys/net/route Message-ID: <168011599601210@mail.yandex.ru> In-Reply-To: <202009082139.088LdYYe097366@repo.freebsd.org> References: <202009082139.088LdYYe097366@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
08.09.2020, 22:39, "Alexander V. Chernikov" <melifaro@freebsd.org>: > Author: melifaro > Date: Tue Sep 8 21:39:34 2020 > New Revision: 365475 > URL: https://svnweb.freebsd.org/changeset/base/365475 > > Log: > Fix panic with net.fibs tunable set in loader.conf. > > Fix by removing forgotten CTLFLAG_RWTUN flag from the sysctl, > loader variable will be read later in vnet_rtables_init(). > > Reported by: mav ^^ meant to be avg > > Modified: > head/sys/net/route/route_tables.c > > Modified: head/sys/net/route/route_tables.c > ============================================================================== > --- head/sys/net/route/route_tables.c Tue Sep 8 20:53:44 2020 (r365474) > +++ head/sys/net/route/route_tables.c Tue Sep 8 21:39:34 2020 (r365475) > @@ -140,7 +140,7 @@ sysctl_fibs(SYSCTL_HANDLER_ARGS) > return (error); > } > SYSCTL_PROC(_net, OID_AUTO, fibs, > - CTLFLAG_VNET | CTLTYPE_U32 | CTLFLAG_RWTUN | CTLFLAG_MPSAFE, NULL, 0, > + CTLFLAG_VNET | CTLTYPE_U32 | CTLFLAG_MPSAFE, NULL, 0, > &sysctl_fibs, "IU", > "set number of fibs");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?168011599601210>