Re: [PATCH] iscsi: add module alias

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/09/2010 11:37 AM, Stephen Hemminger wrote:
Since iscsi transport can be built as a module and uses netlink socket
to communicate. The module should have an alias to autoload when socket
of NETLINK_ISCSI type is requested.

Signed-off-by: Stephen Hemminger<shemminger@xxxxxxxxxx>

--- a/drivers/scsi/scsi_transport_iscsi.c	2010-12-09 09:21:42.784962783 -0800
+++ b/drivers/scsi/scsi_transport_iscsi.c	2010-12-09 09:22:40.812352712 -0800
@@ -2200,3 +2200,4 @@ MODULE_AUTHOR("Mike Christie<michaelc@c
  MODULE_DESCRIPTION("iSCSI Transport Interface");
  MODULE_LICENSE("GPL");
  MODULE_VERSION(ISCSI_TRANSPORT_VERSION);
+MODULE_ALIAS_NET_PF_PROTO(PF_NETLINK, NETLINK_ISCSI);


Thanks for the patch. Looks ok to me.

Acked-by: Mike Christie <michaelc@xxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux