Spdk/lib/iscsi
Jim Harris b35aceb8cf iscsi: unregister login_timer when destroying connection
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>
2022-11-23 08:22:04 +00:00
..
conn.c iscsi: unregister login_timer when destroying connection 2022-11-23 08:22:04 +00:00
conn.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
init_grp.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
init_grp.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
iscsi_rpc.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
iscsi_subsystem.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
iscsi.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
iscsi.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
Makefile update Intel copyright notices 2022-11-10 08:28:53 +00:00
md5.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
md5.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
param.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
param.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
portal_grp.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
portal_grp.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
spdk_iscsi.map subsystem/iscsi: remove legacy config support 2020-10-20 08:53:53 +00:00
task.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
task.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
tgt_node.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
tgt_node.h update Intel copyright notices 2022-11-10 08:28:53 +00:00