Re: [PATCH 1/3] scsi: libiscsi: move init ehwait to iscsi_session_setup()

2021-09-11 Thread Ding Hui
On 2021/9/11 12:25 上午, Mike Christie wrote: On 9/9/21 8:02 PM, Ding Hui wrote: commit ec29d0ac29be ("scsi: iscsi: Fix conn use after free during resets") move member ehwait from conn to session, but left init ehwait in iscsi_conn_setup(). Due to one session can be binded by multi conns, the

Re: [PATCH 1/3] scsi: libiscsi: move init ehwait to iscsi_session_setup()

2021-09-10 Thread Mike Christie
On 9/9/21 8:02 PM, Ding Hui wrote: > commit ec29d0ac29be ("scsi: iscsi: Fix conn use after free during > resets") move member ehwait from conn to session, but left init ehwait > in iscsi_conn_setup(). > > Due to one session can be binded by multi conns, the conn after the A session can only have

[PATCH 1/3] scsi: libiscsi: move init ehwait to iscsi_session_setup()

2021-09-09 Thread Ding Hui
commit ec29d0ac29be ("scsi: iscsi: Fix conn use after free during resets") move member ehwait from conn to session, but left init ehwait in iscsi_conn_setup(). Due to one session can be binded by multi conns, the conn after the first will reinit the session->ehwait, move init ehwait to

[PATCH 1/3] scsi: libiscsi: move init ehwait to iscsi_session_setup()

2021-09-09 Thread Ding Hui
commit ec29d0ac29be ("scsi: iscsi: Fix conn use after free during resets") move member ehwait from conn to session, but left init ehwait in iscsi_conn_setup(). Due to one session can be binded by multi conns, the conn after the first will reinit the session->ehwait, move init ehwait to