Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757658AbZCJQsk (ORCPT ); Tue, 10 Mar 2009 12:48:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755530AbZCJQnw (ORCPT ); Tue, 10 Mar 2009 12:43:52 -0400 Received: from zelda.netsplit.com ([87.194.19.211]:34625 "EHLO zelda.netsplit.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755497AbZCJQnl (ORCPT ); Tue, 10 Mar 2009 12:43:41 -0400 Message-Id: In-Reply-To: References: From: Scott James Remnant Date: Mon, 2 Mar 2009 17:09:44 +0000 Subject: [PATCH 07/31] scsi: Auto-load scsi_transport_iscsi module when socket opened. To: linux-kernel@vger.kernel.org Cc: michaelc@cs.wisc.edu, open-iscsi@googlegroups.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1301 Lines: 36 The scsi_transport_iscsi module is missing the net-pf-16-proto-8 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 Signed-off-by: Tim Gardner --- drivers/scsi/scsi_transport_iscsi.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/scsi/scsi_transport_iscsi.c b/drivers/scsi/scsi_transport_iscsi.c index 75c9297..056fdae 100644 --- a/drivers/scsi/scsi_transport_iscsi.c +++ b/drivers/scsi/scsi_transport_iscsi.c @@ -22,6 +22,8 @@ */ #include #include +#include +#include #include #include #include @@ -2013,3 +2015,4 @@ MODULE_AUTHOR("Mike Christie , " MODULE_DESCRIPTION("iSCSI Transport Interface"); MODULE_LICENSE("GPL"); MODULE_VERSION(ISCSI_TRANSPORT_VERSION); +MODULE_ALIAS_NET_PF_PROTO(PF_NETLINK, NETLINK_ISCSI); -- 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/