2011/11/9 Lennart Poettering <[email protected]>:
> On Wed, 09.11.11 08:13, "Jóhann B. Guðmundsson" ([email protected]) wrote:

>> Do you have any links to documentation on how to autoload kmods on use?
>
> Well, this is a kernel feature. The kernel module developers have to add
> the right directives to their .c sources to make the module
> autoloadable. And there are a number of different hooks for the
> auto-loading. i.e. since about always PCI vendor/product IDs could be
> used to do module auto loading, but nowadays DMI info works too, or
> device nodes can be precreated and information about it included in the
> kmod, and so on. So, making modules autoloadable is something for the
> kernel hackers to care for.

The module in question here, ip_queue, is supposed to be loaded when
the netlink_firewall protocol is requested:

MODULE_ALIAS_NET_PF_PROTO(PF_NETLINK, NETLINK_FIREWALL);

# modinfo ip_queue | grep alias
alias:          net-pf-16-proto-3

Not sure if that works as expected. Someone needs to try that.

Kay
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to