diff options
author | Mike Christie <[email protected]> | 2022-06-16 17:45:57 -0500 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2022-06-21 21:19:23 -0400 |
commit | 6e637b723d8277cac4d347ea671ab798b70d8fc9 (patch) | |
tree | e26b11105965a47d7dcdb3c71d8d650f20c11f14 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 6d626150d6d1c14f2f3d4f907fd0d4381f2c0d35 (diff) |
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/[email protected]
Reviewed-by: Lee Duncan <[email protected]>
Signed-off-by: Mike Christie <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions