[LEDE-DEV] Difference between AutoLoad vs. AutoProbe for kernel modules?

Yousong Zhou yszhou4tech at gmail.com
Tue Jan 10 03:11:56 PST 2017


On 10 January 2017 at 18:27, John Crispin <john at phrozen.org> wrote:
> correct, which is why we tend to add subsystem and lib stuff using
> AutoLoad and the rest using AutoProbe

I think the problem with wireguard in github issue 3790 [1] is that
wireguard requires NFPROTO_{IPV4,IPV6} "hashlimit" module and
netfilter subsystem will try to load ipt_hashlimit and ip6t_hashlimit
which are aliases of xt_hashlimit, but we have aliases along with
other modinfoinfo stripped from kernel modules with patch
204-module_strip.patch.

It looks to me mod aliases are essential part of the module info in
this case . What do you think about restoring them by patching the
204.xxx.patch?

[1] https://github.com/openwrt/packages/issues/3790

                yousong



More information about the Lede-dev mailing list