Date: Sat, 3 Sep 2022 22:53:14 -0700 From: Gleb Smirnoff <glebius@freebsd.org> To: "Bjoern A. Zeeb" <bz@freebsd.org> Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: e72c522858cb - main - divert(4): make it compilable and working without INET Message-ID: <YxQ9Shj2Em3oe92s@FreeBSD.org> In-Reply-To: <6q6n8553-2143-n24p-4816-406549997s@mnoonqbm.arg> References: <202208302249.27UMnSwI022109@gitrepo.freebsd.org> <6q6n8553-2143-n24p-4816-406549997s@mnoonqbm.arg>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Sep 03, 2022 at 10:44:26PM +0000, Bjoern A. Zeeb wrote: B> On Tue, 30 Aug 2022, Gleb Smirnoff wrote: B> B> > The branch main has been updated by glebius: B> > B> > URL: https://cgit.FreeBSD.org/src/commit/?id=e72c522858cb3fe179b8ec5700cdbf46c45e917e B> > B> > commit e72c522858cb3fe179b8ec5700cdbf46c45e917e B> > Author: Gleb Smirnoff <glebius@FreeBSD.org> B> > AuthorDate: 2022-08-30 22:09:21 +0000 B> > Commit: Gleb Smirnoff <glebius@FreeBSD.org> B> > CommitDate: 2022-08-30 22:09:21 +0000 B> > B> > divert(4): make it compilable and working without INET B> > B> > Differential revision: https://reviews.freebsd.org/D36383 B> B> Well, almost at least.... I wonder why LINT-NOINET builds without this?? B> - sysctls require INET The sysctls, I believe, need to be moved out of the inet namespace. B> - ip_divert_ptr still requires INET or INET6 (raw_ip.c) This dependency is fine as it is. Packet filters also require either. Also, I don't expect that through my lifetime we would ever need a kernel with network stack features, but without both INET and INET6. B> - one of the SCTP blocks has a early-ended #ifdef INET which can just be B> fixed easily compared to the two above. Thanks! I'll post a review soon. -- Gleb Smirnoff
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YxQ9Shj2Em3oe92s>