svn commit: r347402 - head/sys/modules/ipsec

Kyle Evans kevans at freebsd.org
Thu May 9 19:13:55 UTC 2019


On Thu, May 9, 2019 at 1:43 PM Andrey V. Elsukov <ae at 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


More information about the svn-src-head mailing list