+1
−0
Loading
If a connection is established and we receive a bad PDU before successful login, the login_timer would not get unregistered. So ensure the login_timer is always unregistered in _iscsi_conn_destruct(). Found with Calsoft tests during new spdk_thread_exit() assertion testing. Lack of unregistration would result in its associated spdk_thread being unable to exit cleanly due to the unexpired timer. Signed-off-by:Jim Harris <james.r.harris@intel.com> Change-Id: I79d427512f7829ad76bf89155e0e14c7bce3a7d7 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15499 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com>