Skip to content

Commit

Permalink
netfilter: auto-load ip6_queue module when socket opened
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Scott James Remnant authored and Patrick McHardy committed Mar 16, 2009
1 parent f0a3c08 commit 26c3b67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/ipv6/netfilter/ip6_queue.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit 26c3b67

Please sign in to comment.