dfe5d83743
There are some error paths that can get to spdk_iscsi_conn_stop_poller() before the conn's session is set. So check whether the session is NULL before trying to check its session type. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I352a2aa513541ba630ace368137433e509700e32