summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMike Christie <michael.christie@oracle.com>2020-07-01 20:43:18 -0500
committerMartin K. Petersen <martin.petersen@oracle.com>2020-07-08 00:14:34 -0400
commit3c006c7d23aac928279f7cbe83bbac4361255d53 (patch)
tree18813c095e06d984d6ecee284ae5b8ff9d09b035 /scripts
parent63c9ffe473d3eb0910cadd35685c93c3edeff19f (diff)
scsi: target: Fix xcopy sess release leak
transport_init_session can allocate memory via percpu_ref_init, and target_xcopy_release_pt never frees it. This adds a transport_uninit_session function to handle cleanup of resources allocated in the init function. Link: https://lore.kernel.org/r/1593654203-12442-3-git-send-email-michael.christie@oracle.com Signed-off-by: Mike Christie <michael.christie@oracle.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions