Hi Sagi, what do you think on this approach ? we must somehow defend on the NULL deref in case dd_data in iscsi_conn (the iser_conn) already NULL due to conn_stop call.
Sounds like we get conn_stop duing lun scanning. Generally speaking Idon't like a global lock for this, but given the non trivial iscsi state machine
we can do with that. Reviewed-by: Sagi Grimberg <sagi@xxxxxxxxxx>