diff options
author | Bart Van Assche <bvanassche@acm.org> | 2019-01-25 19:34:51 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-02-05 03:32:01 +0100 |
commit | 40ca8757291ca7a8775498112d320205b2a2e571 (patch) | |
tree | f1440b589862242208a77154958c65324b0aa923 /drivers/target/iscsi/iscsi_target_util.c | |
parent | scsi: RDMA/srpt: Rework I/O context allocation (diff) | |
download | linux-40ca8757291ca7a8775498112d320205b2a2e571.tar.xz linux-40ca8757291ca7a8775498112d320205b2a2e571.zip |
scsi: RDMA/srpt: Fix a credit leak for aborted commands
Make sure that the next time a response is sent to the initiator that the
credit it had allocated for the aborted request gets freed.
Cc: Doug Ledford <dledford@redhat.com>
Cc: Jason Gunthorpe <jgg@ziepe.ca>
Cc: Nicholas Bellinger <nab@linux-iscsi.org>
Cc: Mike Christie <mchristi@redhat.com>
Cc: Hannes Reinecke <hare@suse.com>
Cc: Christoph Hellwig <hch@lst.de>
Fixes: 131e6abc674e ("target: Add TFO->abort_task for aborted task resources release") # v3.15
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/target/iscsi/iscsi_target_util.c')
0 files changed, 0 insertions, 0 deletions