[NETFILTER] ctnetlink: add module alias to fix autoloading
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 9 Nov 2005 21:00:29 +0000 (13:00 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Nov 2005 21:00:29 +0000 (13:00 -0800)
Add missing module alias. This is a must to load ctnetlink on demand. For
example, the conntrack tool will fail if the module isn't loaded.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ip_conntrack_netlink.c

index 09957f9..842fe2c 100644 (file)
@@ -1538,6 +1538,8 @@ static struct nfnetlink_subsystem ctnl_exp_subsys = {
        .cb                             = ctnl_exp_cb,
 };
 
+MODULE_ALIAS_NFNL_SUBSYS(NFNL_SUBSYS_CTNETLINK);
+
 static int __init ctnetlink_init(void)
 {
        int ret;