[SCSI] iscsi: add module alias
authorStephen Hemminger <[email protected]>
Thu, 9 Dec 2010 17:37:56 +0000 (09:37 -0800)
committerJames Bottomley <[email protected]>
Tue, 21 Dec 2010 18:24:48 +0000 (12:24 -0600)
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 <[email protected]>
Acked-by: Mike Christie <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
drivers/scsi/scsi_transport_iscsi.c

index 332387a6bc25de2210a6137c9ccdd4c1e34a6bd0..f905ecb5704d71b0c9a5fd81fe0c88f0c2970fb3 100644 (file)
@@ -2200,3 +2200,4 @@ MODULE_AUTHOR("Mike Christie <[email protected]>, "
 MODULE_DESCRIPTION("iSCSI Transport Interface");
 MODULE_LICENSE("GPL");
 MODULE_VERSION(ISCSI_TRANSPORT_VERSION);
+MODULE_ALIAS_NET_PF_PROTO(PF_NETLINK, NETLINK_ISCSI);