Mike Christie 6e637b723d scsi: libiscsi: Improve conn_send_pdu API
The conn_send_pdu API is evil in that it returns a pointer to an
iscsi_task, but that task might have been freed already so you can't touch
it. This patch splits the task allocation and transmission, so functions
like iscsi_send_nopout() can access the task before its sent and do
whatever bookkeeping is needed before it is sent.

Link: https://lore.kernel.org/r/20220616224557.115234-10-michael.christie@oracle.com
Reviewed-by: Lee Duncan <lduncan@suse.com>
Signed-off-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2022-06-21 21:19:23 -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
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