Date: Thu, 9 May 2019 14:13:09 -0500 From: Kyle Evans <kevans@freebsd.org> To: "Andrey V. Elsukov" <ae@freebsd.org> Cc: src-committers <src-committers@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>, svn-src-head@freebsd.org Subject: Re: svn commit: r347402 - head/sys/modules/ipsec Message-ID: <CACNAnaHhZED5nQwNv3eyabN9=z9P7YVL9G8GX%2BoXr8hsXOD2Dg@mail.gmail.com> In-Reply-To: <1362fc5c-c5dd-438b-9696-de3ec3a538ca@FreeBSD.org> References: <201905091806.x49I6Bx9067179@repo.freebsd.org> <CACNAnaH5Wq5aXHtT6EuRwTS5zUe=kBfZTsh%2B9BqPkHee3cvT-Q@mail.gmail.com> <1362fc5c-c5dd-438b-9696-de3ec3a538ca@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 9, 2019 at 1:43 PM Andrey V. Elsukov <ae@freebsd.org> wrote: > > On 09.05.2019 21:36, Kyle Evans wrote: > > Any chance the mechanism I introduced for ifconfig mapping ifname <-> > > kld in r347241 would solve the same set of problems this would? > > (unsure if there are any non-ifconfig(8) problems in consideration) If > > we have more consumers of it than just vmnet (from a stable/ point of > > view) then I'd be more than happy to MFC that separately from the rest > > of the commit. > > > > Hi, > > there is two IPsec related interfaces that have problem with automatic > loading - if_enc and if_ipsec. So, if you add both to the mapping list, > this will be useful. CAM enc driver has conflicting name and prevents to > automatic loading of if_enc(4). It is probably always build in the > kernel, but renaming it into "ses" may break some third-party device > drivers. > I think you want something like [0] to add both of these to the map and stop ifconfig(8) from bailing on loading if_enc because 'enc' is loaded. This is safe at least for the set of modules currently mapped. Thanks, Kyle Evans [0] https://people.freebsd.org/~kevans/ipsec.diff
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACNAnaHhZED5nQwNv3eyabN9=z9P7YVL9G8GX%2BoXr8hsXOD2Dg>