diff options
| author | Ding Hui <[email protected]> | 2021-09-11 21:51:59 +0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-09-14 00:02:45 -0400 |
| commit | e018f03d6ccbd9c3ce6a9fae4f582113f2a2906b (patch) | |
| tree | 49becf93f5fd2e83ba3ff3297c6419136e508a71 /tools/perf/scripts/python | |
| parent | ce4fc333e599c19973455c9d8f6fbb1e7c140dc8 (diff) | |
scsi: libiscsi: Move ehwait initialization to iscsi_session_setup()
Commit ec29d0ac29be ("scsi: iscsi: Fix conn use after free during resets")
moved member ehwait from 'conn' to 'session', but left the initialization
of ehwait in iscsi_conn_setup().
Although a session can only have 1 conn currently, it is better to
initialize ehwait in iscsi_session_setup() in case we implement handling
multiple conns in the future.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Mike Christie <[email protected]>
Signed-off-by: Ding Hui <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions