Mike Christie c577ab7ba5 scsi: iscsi: Fix HW conn removal use after free
If qla4xxx doesn't remove the connection before the session, the iSCSI
class tries to remove the connection for it. We were doing a
iscsi_put_conn() in the iter function which is not needed and will result
in a use after free because iscsi_remove_conn() will free the connection.

Link: https://lore.kernel.org/r/20220616222738.5722-2-michael.christie@oracle.com
Tested-by: Nilesh Javali <njavali@marvell.com>
Reviewed-by: Lee Duncan <lduncan@suse.com>
Reviewed-by: Nilesh Javali <njavali@marvell.com>
Signed-off-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2022-06-21 21:14:53 -04:00
..
2022-04-11 22:09:35 -04:00
2022-04-11 22:09:35 -04:00
2022-05-23 23:24:09 -04:00
2022-05-25 19:09:48 -07:00
2021-11-05 08:42:02 -07:00
2022-05-23 23:24:10 -04:00
2022-06-01 22:43:26 -04:00
2022-05-23 23:24:10 -04:00
2022-02-22 21:11:02 -05:00
2022-01-14 14:37:34 +01:00
2022-05-16 21:32:16 -04:00
2022-02-22 21:11:02 -05:00
2021-04-13 00:20:48 -04:00
2022-01-25 00:09:41 -05:00
2022-05-23 23:24:10 -04:00
2022-02-22 21:11:02 -05:00
2021-03-24 23:03:43 -04:00
2022-01-22 08:33:37 +02:00
2022-05-02 16:59:11 -04:00
2022-05-08 14:28:18 -04:00
2022-06-05 09:25:12 -07:00
2021-12-22 23:41:13 -05:00
2022-06-05 09:25:12 -07:00
2021-04-13 00:20:48 -04:00