• C
    scsi: iscsi: respond to netlink with unicast when appropriate · af170928
    Chris Leech 提交于
    Instead of always multicasting responses, send a unicast netlink message
    directed at the correct pid.  This will be needed if we ever want to
    support multiple userspace processes interacting with the kernel over
    iSCSI netlink simultaneously.  Limitations can currently be seen if you
    attempt to run multiple iscsistart commands in parallel.
    
    We've fixed up the userspace issues in iscsistart that prevented
    multiple instances from running, so now attempts to speed up booting by
    bringing up multiple iscsi sessions at once in the initramfs are just
    running into misrouted responses that this fixes.
    Signed-off-by: NChris Leech <cleech@redhat.com>
    Reviewed-by: NLee Duncan <lduncan@suse.com>
    Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
    af170928
scsi_transport_iscsi.c 138.1 KB