All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 4/7] add missing module_alias_subsys
@ 2005-11-04 18:00 Pablo Neira
  2005-11-05  7:31 ` Patrick McHardy
  0 siblings, 1 reply; 6+ messages in thread
From: Pablo Neira @ 2005-11-04 18:00 UTC (permalink / raw)
  To: Netfilter Development Mailinglist; +Cc: Harald Welte

[-- Attachment #1: Type: text/plain, Size: 286 bytes --]

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.

-- 
The dawn of the fourth age of Linux firewalling is coming; a time of
great struggle and heroic deeds -- J.Kadlecsik got inspired by J.Morris

[-- Attachment #2: 07-alias.patch --]
[-- Type: text/plain, Size: 719 bytes --]

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>

Index: net-2.6.git/net/ipv4/netfilter/ip_conntrack_netlink.c
===================================================================
--- net-2.6.git.orig/net/ipv4/netfilter/ip_conntrack_netlink.c	2005-11-04 17:55:24.000000000 +0100
+++ net-2.6.git/net/ipv4/netfilter/ip_conntrack_netlink.c	2005-11-04 18:31:04.000000000 +0100
@@ -1538,6 +1538,8 @@ static struct nfnetlink_subsystem ctnl_e
 	.cb				= ctnl_exp_cb,
 };
 
+MODULE_ALIAS_NFNL_SUBSYS(NFNL_SUBSYS_CTNETLINK);
+
 static int __init ctnetlink_init(void)
 {
 	int ret;

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-11-05 12:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-04 18:00 [PATCH 4/7] add missing module_alias_subsys Pablo Neira
2005-11-05  7:31 ` Patrick McHardy
2005-11-05 11:53   ` Harald Welte
2005-11-05 11:56     ` Patrick McHardy
2005-11-05 12:28       ` Harald Welte
2005-11-05 12:30         ` Patrick McHardy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.