commit | 2ff717cdc693d532e4560f43858443aea7d88197 | [log] [tgz] |
---|---|---|
author | Cathy Avery <cavery@redhat.com> | Thu Feb 28 14:28:24 2019 -0500 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Wed Mar 06 19:26:13 2019 -0500 |
tree | a7c8aa70cf06cebe2a2089c97dcb8a28c490c074 | |
parent | 3722e6a52174d7c3a00e6f5efd006ca093f346c1 [diff] |
scsi: target: tcmu: wait for nl reply only if there are listeners or during an add genlmsg_multicast_allns now returns the correct statuses when a message is sent to a listener. However in the case of adding a device we want to wait for the listener otherwise we may miss the the device during startup. Signed-off-by: Cathy Avery <cavery@redhat.com> Acked-by: Mike Christie <mchristi@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>