Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756908AbZCJQpO (ORCPT ); Tue, 10 Mar 2009 12:45:14 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755724AbZCJQnn (ORCPT ); Tue, 10 Mar 2009 12:43:43 -0400 Received: from zelda.netsplit.com ([87.194.19.211]:34589 "EHLO zelda.netsplit.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754769AbZCJQni (ORCPT ); Tue, 10 Mar 2009 12:43:38 -0400 Message-Id: In-Reply-To: References: From: Scott James Remnant Date: Mon, 2 Mar 2009 17:03:47 +0000 Subject: [PATCH 04/31] netfilter: Auto-load ip_queue module when socket opened. To: linux-kernel@vger.kernel.org Cc: kaber@trash.net, netfilter-devel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1327 Lines: 38 The ip_queue module is missing the net-pf-16-proto-3 alias that would causae it to be auto-loaded when a socket of that type is opened. This patch adds the alias. Signed-off-by: Scott James Remnant Signed-off-by: Tim Gardner --- net/ipv4/netfilter/ip_queue.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/net/ipv4/netfilter/ip_queue.c b/net/ipv4/netfilter/ip_queue.c index 432ce9d..5f22c91 100644 --- a/net/ipv4/netfilter/ip_queue.c +++ b/net/ipv4/netfilter/ip_queue.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include @@ -640,6 +641,7 @@ static void __exit ip_queue_fini(void) MODULE_DESCRIPTION("IPv4 packet queue handler"); MODULE_AUTHOR("James Morris "); MODULE_LICENSE("GPL"); +MODULE_ALIAS_NET_PF_PROTO(PF_NETLINK, NETLINK_FIREWALL); module_init(ip_queue_init); module_exit(ip_queue_fini); -- 1.6.0.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/