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 <shemmin...@vyatta.com>

--- 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 <micha...@c
 MODULE_DESCRIPTION("iSCSI Transport Interface");
 MODULE_LICENSE("GPL");
 MODULE_VERSION(ISCSI_TRANSPORT_VERSION);
+MODULE_ALIAS_NET_PF_PROTO(PF_NETLINK, NETLINK_ISCSI);

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-is...@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.

Reply via email to