]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
netfilter: auto-load ip6_queue module when socket opened
authorScott James Remnant <scott@canonical.com>
Mon, 16 Mar 2009 14:30:14 +0000 (15:30 +0100)
committerPatrick McHardy <kaber@trash.net>
Mon, 16 Mar 2009 14:30:14 +0000 (15:30 +0100)
The ip6_queue module is missing the net-pf-16-proto-13 alias that would
cause it to be auto-loaded when a socket of that type is opened.  This
patch adds the alias.

Signed-off-by: Scott James Remnant <scott@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/ipv6/netfilter/ip6_queue.c

index 5859c046cbc4850b65ddb3474dc1197f8f9618eb..b693f841aeb4f019804778772b7417c9558aa7b5 100644 (file)
@@ -643,6 +643,7 @@ static void __exit ip6_queue_fini(void)
 
 MODULE_DESCRIPTION("IPv6 packet queue handler");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS_NET_PF_PROTO(PF_NETLINK, NETLINK_IP6_FW);
 
 module_init(ip6_queue_init);
 module_exit(ip6_queue_fini);