aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2005-11-09 16:00:29 -0500
committerDavid S. Miller <davem@davemloft.net>2005-11-09 16:00:29 -0500
commit119a31849442215fa66e4d18a33443a55c45e631 (patch)
tree20c477d5363e26f0eaee74226ad29e708a328af8 /net
parent02a78cdf425156b86abdb6883f837a70fb7106da (diff)
[NETFILTER] ctnetlink: add module alias to fix autoloading
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>
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/netfilter/ip_conntrack_netlink.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv4/netfilter/ip_conntrack_netlink.c b/net/ipv4/netfilter/ip_conntrack_netlink.c
index 09957f9be97d..842fe2c081c9 100644
--- a/net/ipv4/netfilter/ip_conntrack_netlink.c
+++ b/net/ipv4/netfilter/ip_conntrack_netlink.c
@@ -1538,6 +1538,8 @@ static struct nfnetlink_subsystem ctnl_exp_subsys = {
1538 .cb = ctnl_exp_cb, 1538 .cb = ctnl_exp_cb,
1539}; 1539};
1540 1540
1541MODULE_ALIAS_NFNL_SUBSYS(NFNL_SUBSYS_CTNETLINK);
1542
1541static int __init ctnetlink_init(void) 1543static int __init ctnetlink_init(void)
1542{ 1544{
1543 int ret; 1545 int ret;